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.001269/0.001269, 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.00148/0.00148, allocations: 169 kB / 23.02 MB, free: 1.555 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.9223/0.9223, allocations: 177.1 MB / 203.4 MB, free: 5.668 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.001664/0.001664, allocations: 233.9 kB / 260.2 MB, free: 12.85 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.7018/0.7018, allocations: 138.4 MB / 455.2 MB, free: 1.512 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.443e-06/1.443e-06, allocations: 0 / 0.5551 GB, free: 0.5273 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.976e-05/2.12e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5234 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.002692/0.002713, allocations: 2.616 MB / 0.5576 GB, free: 13.89 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001839/0.004551, allocations: 1.555 MB / 0.5592 GB, free: 12.32 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.298e-05/0.004634, allocations: 4 kB / 0.5592 GB, free: 12.32 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000421/0.005055, allocations: 147.3 kB / 0.5593 GB, free: 12.18 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002468/0.005302, allocations: 167.1 kB / 0.5595 GB, free: 12.01 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003129/0.005615, allocations: 243 kB / 0.5597 GB, free: 11.77 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002462/0.005861, allocations: 334.8 kB / 0.56 GB, free: 11.45 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002316/0.006093, allocations: 149 kB / 0.5602 GB, free: 11.3 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001907/0.006283, allocations: 195.5 kB / 0.5603 GB, free: 11.11 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001979/0.006481, allocations: 139.6 kB / 0.5605 GB, free: 10.97 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.686e-05/0.006508, allocations: 20 kB / 0.5605 GB, free: 10.95 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002899/0.006798, allocations: 315.3 kB / 0.5608 GB, free: 10.64 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.411e-05/0.006882, allocations: 91.73 kB / 0.5609 GB, free: 10.55 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.827e-05/0.00695, allocations: 79.83 kB / 0.561 GB, free: 10.48 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003708/0.007321, allocations: 386.8 kB / 0.5613 GB, free: 10.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.007323, allocations: 0 / 0.5613 GB, free: 10.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.007324, allocations: 0 / 0.5613 GB, free: 10.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.007328, allocations: 0 / 0.5613 GB, free: 10.1 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.0005425/0.00787, allocations: 0.5932 MB / 0.5619 GB, free: 9.465 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.007902, allocations: 12.75 kB / 0.5619 GB, free: 9.453 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004915/0.008394, allocations: 160.5 kB / 0.5621 GB, free: 9.297 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/0.008645, allocations: 209.2 kB / 0.5623 GB, free: 9.066 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.00866, allocations: 16.88 kB / 0.5623 GB, free: 9.051 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.744e-05/0.008698, allocations: 28.36 kB / 0.5623 GB, free: 9.023 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004152/0.009113, allocations: 294.1 kB / 0.5626 GB, free: 8.691 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.009127, allocations: 192 / 0.5626 GB, free: 8.691 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/0.009156, allocations: 16.34 kB / 0.5626 GB, free: 8.676 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.703e-05/0.009203, allocations: 28.42 kB / 0.5626 GB, free: 8.648 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002792/0.009482, allocations: 126.8 kB / 0.5628 GB, free: 8.527 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.01082, allocations: 1.383 MB / 0.5641 GB, free: 7.074 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002542/0.01107, allocations: 182 kB / 0.5643 GB, free: 6.871 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.648e-05/0.01114, allocations: 51.34 kB / 0.5643 GB, free: 6.812 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.412e-05/0.01118, allocations: 8 kB / 0.5643 GB, free: 6.805 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.0112, allocations: 41.38 kB / 0.5644 GB, free: 6.754 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.282e-06/0.01121, allocations: 4 kB / 0.5644 GB, free: 6.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=23): time 0.001087/0.01229, allocations: 0.5498 MB / 0.5649 GB, free: 6.18 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.01232, allocations: 89.17 kB / 0.565 GB, free: 6.074 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.01247, allocations: 257.5 kB / 0.5652 GB, free: 5.805 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.01249, allocations: 29.7 kB / 0.5653 GB, free: 5.77 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.019e-05/0.01257, allocations: 219.2 kB / 0.5655 GB, free: 5.551 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.597e-05/0.01261, allocations: 83.28 kB / 0.5656 GB, free: 5.469 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.154e-05/0.01268, allocations: 67.31 kB / 0.5656 GB, free: 5.395 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.01281, allocations: 0.5078 MB / 0.5661 GB, free: 4.875 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.207e-05/0.01289, allocations: 47.97 kB / 0.5662 GB, free: 4.828 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.01302, allocations: 164.4 kB / 0.5663 GB, free: 4.621 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002209/0.01325, allocations: 239.6 kB / 0.5666 GB, free: 4.344 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.01325, allocations: 0 / 0.5666 GB, free: 4.344 MB / 490.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004248/0.01367, allocations: 351.8 kB / 0.5669 GB, free: 3.977 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.01369, allocations: 7.984 kB / 0.5669 GB, free: 3.969 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.01369, allocations: 4 kB / 0.5669 GB, free: 3.965 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003479/0.01404, allocations: 134.9 kB / 0.567 GB, free: 3.816 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.01418, allocations: 55.91 kB / 0.5671 GB, free: 3.762 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001965/0.01615, allocations: 5.115 MB / 0.5721 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.749e-05/0.01624, allocations: 20.05 kB / 0.5721 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.01626, allocations: 16 kB / 0.5721 GB, free: 14.3 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 9.557e-05/0.01635, allocations: 180.4 kB / 0.5723 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.857e-05/0.0164, allocations: 31.86 kB / 0.5723 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003977/0.0168, allocations: 285.6 kB / 0.5726 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.0168, allocations: 4 kB / 0.5726 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.01681, allocations: 0 / 0.5726 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.01681, allocations: 4 kB / 0.5726 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007615/0.01757, allocations: 0.7471 MB / 0.5733 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.01757, allocations: 3.984 kB / 0.5733 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.621e-05/0.01764, allocations: 31.98 kB / 0.5734 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002689/0.01791, allocations: 130.7 kB / 0.5735 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.01793, allocations: 12 kB / 0.5735 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001761/0.01969, allocations: 5.114 MB / 0.5785 GB, free: 7.312 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01969, allocations: 0 / 0.5785 GB, free: 7.312 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000422/0.02011, allocations: 0.5887 MB / 0.5791 GB, free: 6.652 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.2e-05/0.02017, allocations: 39.88 kB / 0.5791 GB, free: 6.613 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.02019, allocations: 20.17 kB / 0.5791 GB, free: 6.594 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.0203, allocations: 15.98 kB / 0.5791 GB, free: 6.578 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.02035, allocations: 23.97 kB / 0.5792 GB, free: 6.555 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.02036, allocations: 15.94 kB / 0.5792 GB, free: 6.539 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.252e-05/0.02045, allocations: 176.1 kB / 0.5793 GB, free: 6.367 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.02045, allocations: 3.938 kB / 0.5793 GB, free: 6.363 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003265/0.02078, allocations: 99.86 kB / 0.5794 GB, free: 6.266 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.0001732/0.02095, allocations: 147.1 kB / 0.5796 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005232/0.02147, allocations: 0.5488 MB / 0.5801 GB, free: 5.527 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.02148, allocations: 0.625 kB / 0.5801 GB, free: 5.527 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002589/0.02174, allocations: 459.2 kB / 0.5806 GB, free: 5.039 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.02206, allocations: 43.92 kB / 0.5806 GB, free: 4.996 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008801/0.02294, allocations: 0.5759 MB / 0.5812 GB, free: 4.367 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.989e-05/0.02302, allocations: 116.2 kB / 0.5813 GB, free: 4.234 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.549e-05/0.02311, allocations: 46.25 kB / 0.5813 GB, free: 4.191 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.901e-05/0.02315, allocations: 24.48 kB / 0.5813 GB, free: 4.168 MB / 0.4948 GB Notification: Performance of SimCode: time 5.61e-07/0.02315, allocations: 0 / 0.5813 GB, free: 4.168 MB / 0.4948 GB Notification: Performance of Templates: time 0.005675/0.02883, allocations: 4.236 MB / 0.5855 GB, free: 15.98 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.6869185212999582]