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.0009503/0.0009503, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001117/0.001117, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.9587/0.9587, allocations: 177.1 MB / 204.5 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.001764/0.001764, allocations: 236.7 kB / 261.3 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.6887/0.6887, allocations: 138.4 MB / 456.3 MB, free: 1.406 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.693e-06/1.693e-06, allocations: 0 / 0.5563 GB, free: 260 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.016e-05/3.185e-05, allocations: 5.547 kB / 0.5563 GB, free: 256 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004374/0.004406, allocations: 2.6 MB / 0.5589 GB, free: 13.64 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002639/0.007045, allocations: 1.531 MB / 0.5604 GB, free: 12.09 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001751/0.00722, allocations: 7.938 kB / 0.5604 GB, free: 12.09 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005889/0.007809, allocations: 143.3 kB / 0.5605 GB, free: 11.95 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004242/0.008233, allocations: 167 kB / 0.5607 GB, free: 11.78 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006233/0.008856, allocations: 239.1 kB / 0.5609 GB, free: 11.55 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005498/0.009406, allocations: 338.7 kB / 0.5612 GB, free: 11.21 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002988/0.009705, allocations: 161 kB / 0.5614 GB, free: 11.06 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002998/0.01, allocations: 187.6 kB / 0.5616 GB, free: 10.88 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003119/0.01032, allocations: 143.6 kB / 0.5617 GB, free: 10.73 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.844e-05/0.01035, allocations: 24 kB / 0.5617 GB, free: 10.71 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005366/0.01089, allocations: 319.2 kB / 0.562 GB, free: 10.4 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.011, allocations: 95.72 kB / 0.5621 GB, free: 10.3 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.01111, allocations: 79.83 kB / 0.5622 GB, free: 10.23 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005864/0.01169, allocations: 378.8 kB / 0.5626 GB, free: 9.855 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.0117, allocations: 0 / 0.5626 GB, free: 9.855 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.0117, allocations: 0 / 0.5626 GB, free: 9.855 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.0117, allocations: 0 / 0.5626 GB, free: 9.855 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.0007991/0.0125, allocations: 0.5854 MB / 0.5631 GB, free: 9.23 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.01254, allocations: 20.67 kB / 0.5632 GB, free: 9.211 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007689/0.01331, allocations: 136.5 kB / 0.5633 GB, free: 9.078 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.01362, allocations: 213 kB / 0.5635 GB, free: 8.844 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.01364, allocations: 12.88 kB / 0.5635 GB, free: 8.832 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.894e-05/0.01368, allocations: 16.38 kB / 0.5635 GB, free: 8.816 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003902/0.01407, allocations: 282 kB / 0.5638 GB, free: 8.496 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.01408, allocations: 4.188 kB / 0.5638 GB, free: 8.492 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.738e-05/0.01411, allocations: 8.375 kB / 0.5638 GB, free: 8.484 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.077e-05/0.01416, allocations: 32.42 kB / 0.5638 GB, free: 8.453 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000212/0.01437, allocations: 99.34 kB / 0.5639 GB, free: 8.359 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/0.01569, allocations: 1.367 MB / 0.5653 GB, free: 6.922 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.01589, allocations: 154 kB / 0.5654 GB, free: 6.746 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.991e-05/0.01594, allocations: 47.3 kB / 0.5654 GB, free: 6.691 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.366e-05/0.016, allocations: 11.98 kB / 0.5655 GB, free: 6.68 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.01602, allocations: 37.39 kB / 0.5655 GB, free: 6.633 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.764e-06/0.01602, allocations: 0 / 0.5655 GB, free: 6.633 MB / 490.7 MB Notification: Performance of matching and sorting (n=23): time 0.001006/0.01703, allocations: 473.9 kB / 0.5659 GB, free: 6.152 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.01706, allocations: 81.11 kB / 0.566 GB, free: 6.055 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.01719, allocations: 253.6 kB / 0.5663 GB, free: 5.789 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.01721, allocations: 33.73 kB / 0.5663 GB, free: 5.75 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.477e-05/0.0173, allocations: 219.2 kB / 0.5665 GB, free: 5.531 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.366e-05/0.01734, allocations: 87.27 kB / 0.5666 GB, free: 5.445 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.57e-05/0.01742, allocations: 71.28 kB / 0.5667 GB, free: 5.367 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.01754, allocations: 0.5039 MB / 0.5671 GB, free: 4.852 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.648e-05/0.0176, allocations: 39.91 kB / 0.5672 GB, free: 4.812 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.01771, allocations: 160.3 kB / 0.5673 GB, free: 4.609 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.01788, allocations: 211.7 kB / 0.5675 GB, free: 4.359 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.01788, allocations: 0 / 0.5675 GB, free: 4.359 MB / 490.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003762/0.01826, allocations: 316 kB / 0.5678 GB, free: 4.027 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.01828, allocations: 10.81 kB / 0.5679 GB, free: 4.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.01828, allocations: 0 / 0.5679 GB, free: 4.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004982/0.01878, allocations: 138.7 kB / 0.568 GB, free: 3.867 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.01892, allocations: 59.91 kB / 0.568 GB, free: 3.809 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/0.02085, allocations: 5.034 MB / 0.573 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.677e-05/0.02095, allocations: 11.94 kB / 0.573 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.02097, allocations: 16.25 kB / 0.573 GB, free: 14.46 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.0001075/0.02107, allocations: 176.5 kB / 0.5732 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.176e-05/0.02112, allocations: 31.84 kB / 0.5732 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003683/0.02149, allocations: 269.5 kB / 0.5734 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.02149, allocations: 4 kB / 0.5734 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.0215, allocations: 4 kB / 0.5734 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.0215, allocations: 3.984 kB / 0.5735 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007372/0.02224, allocations: 0.6773 MB / 0.5741 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.02224, allocations: 4.25 kB / 0.5741 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.731e-05/0.02231, allocations: 39.92 kB / 0.5742 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002703/0.02258, allocations: 130.6 kB / 0.5743 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.0226, allocations: 11.98 kB / 0.5743 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001926/0.02452, allocations: 5.034 MB / 0.5792 GB, free: 7.648 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.02453, allocations: 7.984 kB / 0.5792 GB, free: 7.641 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004152/0.02494, allocations: 0.5693 MB / 0.5798 GB, free: 7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.304e-05/0.02501, allocations: 39.83 kB / 0.5798 GB, free: 6.961 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.02503, allocations: 8 kB / 0.5798 GB, free: 6.953 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.02514, allocations: 24.08 kB / 0.5798 GB, free: 6.93 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.02517, allocations: 27.84 kB / 0.5799 GB, free: 6.902 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.02519, allocations: 8 kB / 0.5799 GB, free: 6.895 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.592e-05/0.02526, allocations: 172.1 kB / 0.58 GB, free: 6.727 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.02526, allocations: 0 / 0.58 GB, free: 6.727 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003765/0.02564, allocations: 95.86 kB / 0.5801 GB, free: 6.633 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.0001877/0.02583, allocations: 147 kB / 0.5803 GB, free: 6.48 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000485/0.02631, allocations: 0.5254 MB / 0.5808 GB, free: 5.918 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.02631, allocations: 0 / 0.5808 GB, free: 5.918 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002454/0.02656, allocations: 440.3 kB / 0.5812 GB, free: 5.449 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.02691, allocations: 43.91 kB / 0.5812 GB, free: 5.406 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008399/0.02775, allocations: 0.5658 MB / 0.5818 GB, free: 4.777 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001047/0.02785, allocations: 108.3 kB / 0.5819 GB, free: 4.652 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002257/0.02808, allocations: 30.27 kB / 0.5819 GB, free: 4.625 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.584e-05/0.02817, allocations: 102.2 kB / 0.582 GB, free: 4.523 MB / 0.4948 GB Notification: Performance of SimCode: time 8.41e-07/0.02817, allocations: 0 / 0.582 GB, free: 4.523 MB / 0.4948 GB Notification: Performance of Templates: time 0.006374/0.03455, allocations: 4.595 MB / 0.5865 GB, free: 15.99 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: 3.5466247689910233]