Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.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.001856/0.001856, allocations: 85.48 kB / 19.44 MB, free: 344 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.002071/0.002071, allocations: 173.2 kB / 22.76 MB, free: 1.66 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 1.567/1.567, allocations: 177.1 MB / 203.1 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 178] 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.00325/0.00325, allocations: 237.9 kB / 259.8 MB, free: 12.69 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 1.196/1.196, allocations: 138.4 MB / 454.7 MB, free: 1.516 MB / 362.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.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.5543 GB, free: 0.9062 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.593e-05/2.728e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.9023 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005353/0.00538, allocations: 3.119 MB / 0.5574 GB, free: 13.77 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003886/0.009266, allocations: 1.936 MB / 0.5592 GB, free: 11.82 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.009384, allocations: 4 kB / 0.5592 GB, free: 11.81 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009795/0.01036, allocations: 290.8 kB / 0.5595 GB, free: 11.53 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005436/0.01091, allocations: 206.8 kB / 0.5597 GB, free: 11.32 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007367/0.01164, allocations: 259 kB / 0.56 GB, free: 11.07 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004576/0.0121, allocations: 330.8 kB / 0.5603 GB, free: 10.75 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003602/0.01246, allocations: 153 kB / 0.5604 GB, free: 10.59 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003232/0.01278, allocations: 187.5 kB / 0.5606 GB, free: 10.41 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003155/0.0131, allocations: 139.6 kB / 0.5607 GB, free: 10.27 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.837e-05/0.01315, allocations: 20 kB / 0.5608 GB, free: 10.25 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006668/0.01382, allocations: 383.1 kB / 0.5611 GB, free: 9.879 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.01394, allocations: 95.73 kB / 0.5612 GB, free: 9.785 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.01406, allocations: 87.75 kB / 0.5613 GB, free: 9.699 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007997/0.01486, allocations: 0.5219 MB / 0.5618 GB, free: 9.176 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.01487, allocations: 0 / 0.5618 GB, free: 9.176 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.01487, allocations: 0 / 0.5618 GB, free: 9.176 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.01487, allocations: 0 / 0.5618 GB, free: 9.176 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.000988/0.01586, allocations: 0.6123 MB / 0.5624 GB, free: 8.523 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.0159, allocations: 8.75 kB / 0.5624 GB, free: 8.516 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009291/0.01683, allocations: 172.4 kB / 0.5626 GB, free: 8.348 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000399/0.01723, allocations: 209.3 kB / 0.5628 GB, free: 8.117 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.01725, allocations: 12.88 kB / 0.5628 GB, free: 8.105 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.973e-05/0.01729, allocations: 16.38 kB / 0.5628 GB, free: 8.09 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005668/0.01785, allocations: 322.1 kB / 0.5631 GB, free: 7.73 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.01787, allocations: 192 / 0.5631 GB, free: 7.73 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.135e-05/0.0179, allocations: 8.375 kB / 0.5631 GB, free: 7.723 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.923e-05/0.01795, allocations: 28.42 kB / 0.5632 GB, free: 7.695 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003557/0.0183, allocations: 149.8 kB / 0.5633 GB, free: 7.551 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002329/0.02063, allocations: 1.461 MB / 0.5647 GB, free: 6.023 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004288/0.02106, allocations: 174 kB / 0.5649 GB, free: 5.828 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.02119, allocations: 59.34 kB / 0.5649 GB, free: 5.762 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.877e-05/0.02128, allocations: 8 kB / 0.565 GB, free: 5.754 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.02131, allocations: 37.39 kB / 0.565 GB, free: 5.707 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.132e-06/0.02131, allocations: 0 / 0.565 GB, free: 5.707 MB / 490.7 MB Notification: Performance of matching and sorting (n=23): time 0.001993/0.02331, allocations: 0.573 MB / 0.5655 GB, free: 5.113 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002888/0.0236, allocations: 85.05 kB / 0.5656 GB, free: 5.012 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003013/0.0239, allocations: 281.5 kB / 0.5659 GB, free: 4.719 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/0.02393, allocations: 29.7 kB / 0.5659 GB, free: 4.684 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.0241, allocations: 223.2 kB / 0.5661 GB, free: 4.461 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.02422, allocations: 99.25 kB / 0.5662 GB, free: 4.363 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.02435, allocations: 67.36 kB / 0.5663 GB, free: 4.289 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002996/0.02465, allocations: 0.5235 MB / 0.5668 GB, free: 3.754 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.02479, allocations: 59.97 kB / 0.5669 GB, free: 3.695 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002644/0.02505, allocations: 184.4 kB / 0.567 GB, free: 3.469 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004328/0.02549, allocations: 267.8 kB / 0.5673 GB, free: 3.164 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.02549, allocations: 0 / 0.5673 GB, free: 3.164 MB / 490.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008144/0.0263, allocations: 359.8 kB / 0.5676 GB, free: 2.789 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.02632, allocations: 6.656 kB / 0.5676 GB, free: 2.785 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.02633, allocations: 4.312 kB / 0.5677 GB, free: 2.781 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006759/0.027, allocations: 150.6 kB / 0.5678 GB, free: 2.617 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002764/0.02728, allocations: 55.91 kB / 0.5678 GB, free: 2.562 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004738/0.03201, allocations: 5.146 MB / 0.5729 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/0.03224, allocations: 27.94 kB / 0.5729 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.113e-05/0.03227, allocations: 11.98 kB / 0.5729 GB, free: 13.07 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002145/0.03249, allocations: 188.6 kB / 0.5731 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.84e-05/0.03257, allocations: 23.91 kB / 0.5731 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000812/0.03339, allocations: 309.1 kB / 0.5734 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.03339, allocations: 0 / 0.5734 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.03339, allocations: 4 kB / 0.5734 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.0334, allocations: 0 / 0.5734 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001591/0.03499, allocations: 0.7977 MB / 0.5742 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/0.035, allocations: 4 kB / 0.5742 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.03515, allocations: 31.98 kB / 0.5742 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005648/0.03571, allocations: 142.8 kB / 0.5744 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/0.03573, allocations: 4 kB / 0.5744 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00423/0.03996, allocations: 5.15 MB / 0.5794 GB, free: 5.969 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.03997, allocations: 4 kB / 0.5794 GB, free: 5.965 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.04106, allocations: 0.6163 MB / 0.58 GB, free: 5.277 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.04119, allocations: 43.88 kB / 0.58 GB, free: 5.234 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.115e-05/0.04123, allocations: 15.95 kB / 0.5801 GB, free: 5.219 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/0.04145, allocations: 15.98 kB / 0.5801 GB, free: 5.203 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.282e-05/0.04152, allocations: 19.97 kB / 0.5801 GB, free: 5.184 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.8e-05/0.04155, allocations: 19.92 kB / 0.5801 GB, free: 5.164 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001976/0.04174, allocations: 200.1 kB / 0.5803 GB, free: 4.969 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.04174, allocations: 0 / 0.5803 GB, free: 4.969 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005486/0.04229, allocations: 95.88 kB / 0.5804 GB, free: 4.875 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (21): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002551/0.04255, allocations: 143.1 kB / 0.5805 GB, free: 4.727 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001023/0.04357, allocations: 0.5764 MB / 0.5811 GB, free: 4.113 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.04357, allocations: 0 / 0.5811 GB, free: 4.113 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006365/0.04421, allocations: 467 kB / 0.5815 GB, free: 3.617 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005218/0.04473, allocations: 54.16 kB / 0.5816 GB, free: 3.566 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.04587, allocations: 0.5718 MB / 0.5821 GB, free: 2.938 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002241/0.04609, allocations: 169.1 kB / 0.5823 GB, free: 2.75 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001665/0.04626, allocations: 58.2 kB / 0.5824 GB, free: 2.695 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.926e-05/0.04632, allocations: 24.5 kB / 0.5824 GB, free: 2.672 MB / 0.4948 GB Notification: Performance of SimCode: time 4.51e-07/0.04632, allocations: 0 / 0.5824 GB, free: 2.672 MB / 0.4948 GB Notification: Performance of Templates: time 0.01043/0.05675, allocations: 4.236 MB / 0.5865 GB, free: 14.5 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.934846377000213]