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.0009078/0.0009078, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009398/0.0009398, allocations: 165 kB / 23.02 MB, free: 1.551 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.929/0.929, allocations: 177.1 MB / 203.4 MB, free: 5.617 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.001645/0.001645, allocations: 234.3 kB / 260.2 MB, free: 12.8 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.7555/0.7555, allocations: 138.4 MB / 455.2 MB, free: 30 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.383e-06/1.383e-06, allocations: 0 / 0.5551 GB, free: 184 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.461e-05/1.599e-05, allocations: 2.312 kB / 0.5551 GB, free: 180 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource): time 0.002819/0.002835, allocations: 2.701 MB / 0.5577 GB, free: 13.46 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.004223, allocations: 1.052 MB / 0.5587 GB, free: 12.4 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.004324, allocations: 7.938 kB / 0.5587 GB, free: 12.39 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003963/0.00472, allocations: 103.5 kB / 0.5588 GB, free: 12.29 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002354/0.004955, allocations: 139.1 kB / 0.559 GB, free: 12.15 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.005205, allocations: 139.5 kB / 0.5591 GB, free: 12.02 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003095/0.005515, allocations: 342.7 kB / 0.5594 GB, free: 11.68 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003154/0.00583, allocations: 200 kB / 0.5596 GB, free: 11.48 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002307/0.006061, allocations: 207.5 kB / 0.5598 GB, free: 11.28 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.006249, allocations: 135.6 kB / 0.56 GB, free: 11.14 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.006276, allocations: 20 kB / 0.56 GB, free: 11.12 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.006425, allocations: 91.78 kB / 0.5601 GB, free: 11.04 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.996e-05/0.006495, allocations: 95.72 kB / 0.5602 GB, free: 10.94 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.179e-05/0.006567, allocations: 91.7 kB / 0.5602 GB, free: 10.85 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002948/0.006861, allocations: 239.2 kB / 0.5605 GB, free: 10.62 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.006863, allocations: 0 / 0.5605 GB, free: 10.62 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.006864, allocations: 0 / 0.5605 GB, free: 10.62 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.006869, allocations: 3.938 kB / 0.5605 GB, free: 10.61 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.0005675/0.007436, allocations: 0.574 MB / 0.561 GB, free: 10 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.007471, allocations: 9.938 kB / 0.561 GB, free: 9.996 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004143/0.007885, allocations: 136.5 kB / 0.5612 GB, free: 9.863 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.008154, allocations: 198.9 kB / 0.5614 GB, free: 9.641 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.008169, allocations: 16.86 kB / 0.5614 GB, free: 9.625 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.008197, allocations: 28.38 kB / 0.5614 GB, free: 9.598 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003031/0.008501, allocations: 320.5 kB / 0.5617 GB, free: 9.234 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.008514, allocations: 192 / 0.5617 GB, free: 9.234 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.836e-05/0.008532, allocations: 8.375 kB / 0.5617 GB, free: 9.227 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.906e-05/0.008561, allocations: 20.42 kB / 0.5617 GB, free: 9.207 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000164/0.008725, allocations: 90.88 kB / 0.5618 GB, free: 9.121 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.009758, allocations: 1.282 MB / 0.5631 GB, free: 7.77 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002419/0.01, allocations: 95.09 kB / 0.5632 GB, free: 7.664 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.904e-05/0.01004, allocations: 23.67 kB / 0.5632 GB, free: 7.637 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.01005, allocations: 7.938 kB / 0.5632 GB, free: 7.629 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.01007, allocations: 37.39 kB / 0.5632 GB, free: 7.582 MB / 490.7 MB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.01008, allocations: 0 / 0.5632 GB, free: 7.582 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002807/0.01036, allocations: 129.2 kB / 0.5634 GB, free: 7.445 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.053e-05/0.01038, allocations: 51.41 kB / 0.5634 GB, free: 7.383 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.01051, allocations: 249.3 kB / 0.5636 GB, free: 7.121 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.01053, allocations: 33.7 kB / 0.5637 GB, free: 7.082 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.819e-05/0.01061, allocations: 226.8 kB / 0.5639 GB, free: 6.855 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.01063, allocations: 31.73 kB / 0.5639 GB, free: 6.824 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.293e-05/0.01068, allocations: 39.38 kB / 0.564 GB, free: 6.777 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.956e-05/0.01078, allocations: 0.4962 MB / 0.5644 GB, free: 6.27 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.47e-05/0.01081, allocations: 23.92 kB / 0.5645 GB, free: 6.246 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.057e-05/0.01088, allocations: 120.7 kB / 0.5646 GB, free: 6.086 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/0.01099, allocations: 144.7 kB / 0.5647 GB, free: 5.902 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01099, allocations: 4 kB / 0.5647 GB, free: 5.898 MB / 490.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001838/0.01118, allocations: 164.9 kB / 0.5649 GB, free: 5.727 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.01119, allocations: 4 kB / 0.5649 GB, free: 5.723 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.0112, allocations: 4 kB / 0.5649 GB, free: 5.719 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001703/0.01137, allocations: 43.94 kB / 0.5649 GB, free: 5.672 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.15e-05/0.01144, allocations: 31.92 kB / 0.565 GB, free: 5.641 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009405/0.01238, allocations: 1.733 MB / 0.5667 GB, free: 3.785 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.528e-05/0.01244, allocations: 19.84 kB / 0.5667 GB, free: 3.766 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.01245, allocations: 4 kB / 0.5667 GB, free: 3.762 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 8.168e-05/0.01254, allocations: 172.5 kB / 0.5668 GB, free: 3.582 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.78e-05/0.01256, allocations: 19.91 kB / 0.5669 GB, free: 3.562 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.876e-05/0.01258, allocations: 25.39 kB / 0.5669 GB, free: 3.531 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.01258, allocations: 0 / 0.5669 GB, free: 3.531 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.195e-06/0.01259, allocations: 0 / 0.5669 GB, free: 3.531 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.01259, allocations: 3.984 kB / 0.5669 GB, free: 3.527 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000333/0.01292, allocations: 421 kB / 0.5673 GB, free: 3.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01292, allocations: 4 kB / 0.5673 GB, free: 3.066 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.226e-05/0.01296, allocations: 8 kB / 0.5673 GB, free: 3.059 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.374e-05/0.01305, allocations: 31.66 kB / 0.5673 GB, free: 3.023 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.01306, allocations: 4 kB / 0.5673 GB, free: 3.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006086/0.01367, allocations: 1.732 MB / 0.569 GB, free: 1.168 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.01367, allocations: 7.938 kB / 0.569 GB, free: 1.16 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.01382, allocations: 247.5 kB / 0.5693 GB, free: 0.8945 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.636e-05/0.01386, allocations: 23.88 kB / 0.5693 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.087e-05/0.01387, allocations: 7.938 kB / 0.5693 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.118e-05/0.01393, allocations: 4 kB / 0.5693 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.909e-05/0.01396, allocations: 8.109 kB / 0.5693 GB, free: 0.8516 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.01396, allocations: 8 kB / 0.5693 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.218e-05/0.01403, allocations: 172.1 kB / 0.5695 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01403, allocations: 0 / 0.5695 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002006/0.01424, allocations: 59.83 kB / 0.5695 GB, free: 0.6172 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 6.765e-05/0.0143, allocations: 103.2 kB / 0.5696 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002651/0.01457, allocations: 259.1 kB / 0.5699 GB, free: 244 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.01457, allocations: 3.938 kB / 0.5699 GB, free: 240 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.01467, allocations: 205.5 kB / 0.5701 GB, free: 12 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.01492, allocations: 37.8 kB / 0.5701 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006599/0.01558, allocations: 386.8 kB / 0.5705 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.777e-05/0.01563, allocations: 87.97 kB / 0.5706 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.837e-05/0.01568, allocations: 25.45 kB / 0.5706 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.199e-05/0.01572, allocations: 16.5 kB / 0.5706 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of SimCode: time 6.42e-07/0.01572, allocations: 0 / 0.5706 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of Templates: time 0.003515/0.01923, allocations: 1.882 MB / 0.5725 GB, free: 13.6 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.764868434984237]