Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009126/0.0009126, allocations: 81.86 kB / 19.87 MB, free: 4.617 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009346/0.0009346, allocations: 169.7 kB / 23.27 MB, free: 1.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9473/0.9473, allocations: 177.1 MB / 203.7 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001647/0.001647, allocations: 241.5 kB / 260.5 MB, free: 12.66 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.742/0.742, allocations: 138.4 MB / 455.5 MB, free: 30.01 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource") translateModel(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 0.5555 GB, free: 15.88 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.272e-05/1.39e-05, allocations: 7.609 kB / 0.5556 GB, free: 15.88 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource): time 0.002794/0.002808, allocations: 2.682 MB / 0.5582 GB, free: 13.18 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.004053, allocations: 1.052 MB / 0.5592 GB, free: 12.12 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.004164, allocations: 11.94 kB / 0.5592 GB, free: 12.11 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003617/0.004525, allocations: 95.44 kB / 0.5593 GB, free: 12.01 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002234/0.004749, allocations: 143.1 kB / 0.5594 GB, free: 11.87 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.004958, allocations: 139.5 kB / 0.5596 GB, free: 11.73 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002531/0.005211, allocations: 338.7 kB / 0.5599 GB, free: 11.4 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002716/0.005483, allocations: 204 kB / 0.5601 GB, free: 11.2 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000219/0.005702, allocations: 203.4 kB / 0.5603 GB, free: 11 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001943/0.005896, allocations: 135.6 kB / 0.5604 GB, free: 10.87 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.751e-05/0.005924, allocations: 20 kB / 0.5604 GB, free: 10.85 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.00605, allocations: 91.78 kB / 0.5605 GB, free: 10.76 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.78e-05/0.006118, allocations: 95.72 kB / 0.5606 GB, free: 10.66 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.043e-05/0.006179, allocations: 83.83 kB / 0.5607 GB, free: 10.58 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002335/0.006412, allocations: 259.1 kB / 0.5609 GB, free: 10.33 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.443e-06/0.006414, allocations: 0 / 0.5609 GB, free: 10.33 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.006414, allocations: 0 / 0.5609 GB, free: 10.33 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.026e-06/0.006417, allocations: 0 / 0.5609 GB, free: 10.33 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0005164/0.006933, allocations: 0.5623 MB / 0.5615 GB, free: 9.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.006967, allocations: 17.94 kB / 0.5615 GB, free: 9.715 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003609/0.007328, allocations: 124.5 kB / 0.5616 GB, free: 9.594 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.007521, allocations: 198.8 kB / 0.5618 GB, free: 9.371 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.007536, allocations: 12.88 kB / 0.5618 GB, free: 9.359 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.007557, allocations: 20.38 kB / 0.5618 GB, free: 9.34 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002616/0.007819, allocations: 304.5 kB / 0.5621 GB, free: 8.992 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.007829, allocations: 8.125 kB / 0.5621 GB, free: 8.984 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.007844, allocations: 4.375 kB / 0.5621 GB, free: 8.98 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.726e-05/0.007871, allocations: 32.38 kB / 0.5622 GB, free: 8.949 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.689e-05/0.007958, allocations: 67.38 kB / 0.5622 GB, free: 8.887 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008089/0.008767, allocations: 1.274 MB / 0.5635 GB, free: 7.543 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.008952, allocations: 91.03 kB / 0.5636 GB, free: 7.441 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.698e-05/0.008979, allocations: 27.66 kB / 0.5636 GB, free: 7.41 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.008992, allocations: 11.92 kB / 0.5636 GB, free: 7.398 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.009011, allocations: 33.39 kB / 0.5636 GB, free: 7.355 MB / 490.7 MB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.009012, allocations: 0 / 0.5636 GB, free: 7.355 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002253/0.009237, allocations: 121.2 kB / 0.5638 GB, free: 7.227 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.942e-05/0.009257, allocations: 55.41 kB / 0.5638 GB, free: 7.16 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.009372, allocations: 249.5 kB / 0.564 GB, free: 6.898 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.009383, allocations: 25.7 kB / 0.5641 GB, free: 6.867 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.109e-05/0.009464, allocations: 230.7 kB / 0.5643 GB, free: 6.637 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/0.00948, allocations: 35.72 kB / 0.5643 GB, free: 6.602 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-05/0.009521, allocations: 39.36 kB / 0.5644 GB, free: 6.555 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.009636, allocations: 0.4962 MB / 0.5648 GB, free: 6.047 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.2e-05/0.009658, allocations: 15.98 kB / 0.5649 GB, free: 6.031 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.037e-05/0.009719, allocations: 113.7 kB / 0.565 GB, free: 5.879 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.138e-05/0.00981, allocations: 144.6 kB / 0.5651 GB, free: 5.695 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.009812, allocations: 0 / 0.5651 GB, free: 5.695 MB / 490.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001557/0.009968, allocations: 157.1 kB / 0.5653 GB, free: 5.531 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.009979, allocations: 8 kB / 0.5653 GB, free: 5.523 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.009983, allocations: 0 / 0.5653 GB, free: 5.523 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001277/0.01011, allocations: 35.66 kB / 0.5653 GB, free: 5.484 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.525e-05/0.01018, allocations: 31.92 kB / 0.5653 GB, free: 5.453 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006542/0.01083, allocations: 1.718 MB / 0.567 GB, free: 3.621 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.674e-05/0.0109, allocations: 15.84 kB / 0.567 GB, free: 3.605 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.034e-06/0.0109, allocations: 4 kB / 0.567 GB, free: 3.602 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.634e-05/0.01098, allocations: 176.5 kB / 0.5672 GB, free: 3.418 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.263e-05/0.011, allocations: 15.91 kB / 0.5672 GB, free: 3.402 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.561e-05/0.01102, allocations: 25.58 kB / 0.5672 GB, free: 3.371 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.01102, allocations: 4 kB / 0.5672 GB, free: 3.367 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.01102, allocations: 4 kB / 0.5672 GB, free: 3.363 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.01103, allocations: 3.938 kB / 0.5672 GB, free: 3.359 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.01129, allocations: 361.7 kB / 0.5676 GB, free: 2.969 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01129, allocations: 3.938 kB / 0.5676 GB, free: 2.965 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.736e-05/0.01132, allocations: 11.94 kB / 0.5676 GB, free: 2.953 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.553e-05/0.0114, allocations: 35.66 kB / 0.5676 GB, free: 2.914 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.468e-06/0.01141, allocations: 0 / 0.5676 GB, free: 2.914 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006115/0.01202, allocations: 1.721 MB / 0.5693 GB, free: 1.082 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.01202, allocations: 0 / 0.5693 GB, free: 1.082 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.01216, allocations: 239.4 kB / 0.5695 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.84e-05/0.01219, allocations: 31.95 kB / 0.5696 GB, free: 0.793 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.856e-06/0.01219, allocations: 0 / 0.5696 GB, free: 0.793 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.53e-05/0.01225, allocations: 8 kB / 0.5696 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.446e-05/0.01227, allocations: 7.984 kB / 0.5696 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.01228, allocations: 3.938 kB / 0.5696 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.292e-05/0.01234, allocations: 176.1 kB / 0.5698 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01234, allocations: 0 / 0.5698 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000207/0.01255, allocations: 59.83 kB / 0.5698 GB, free: 0.543 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.234e-05/0.01262, allocations: 99.25 kB / 0.5699 GB, free: 448 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002094/0.01283, allocations: 245 kB / 0.5702 GB, free: 184 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01283, allocations: 4 kB / 0.5702 GB, free: 180 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.01294, allocations: 197.5 kB / 0.5703 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.01316, allocations: 41.73 kB / 0.5704 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006096/0.01377, allocations: 386.8 kB / 0.5708 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.115e-05/0.01382, allocations: 87.97 kB / 0.5708 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.405e-05/0.01388, allocations: 18.11 kB / 0.5709 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.309e-05/0.01396, allocations: 102.2 kB / 0.571 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of SimCode: time 9.92e-07/0.01396, allocations: 0 / 0.571 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of Templates: time 0.003538/0.0175, allocations: 2.027 MB / 0.5729 GB, free: 13.32 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.641705935355276]