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.001812/0.001812, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.001862/0.001862, allocations: 164.4 kB / 23.01 MB, free: 4.594 MB / 14.72 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.404/1.404, allocations: 177.2 MB / 203.4 MB, free: 8.988 MB / 190.1 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.002492/0.002492, allocations: 232.6 kB / 260 MB, free: 484 kB / 238.1 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.9189/0.9189, allocations: 138.5 MB / 455 MB, free: 15.08 MB / 430.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003056/0.003056, allocations: 99.86 kB / 0.6473 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4198/0.4229, allocations: 95.35 MB / 0.7404 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004329/0.4272, allocations: 3.057 MB / 0.7434 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002681/0.4299, allocations: 1.865 MB / 0.7452 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.43, allocations: 8.125 kB / 0.7452 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008533/0.4309, allocations: 283.9 kB / 0.7455 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0004083/0.4313, allocations: 195.2 kB / 0.7457 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005835/0.4319, allocations: 259.2 kB / 0.746 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003358/0.4322, allocations: 323.8 kB / 0.7463 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002803/0.4325, allocations: 153.8 kB / 0.7464 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002006/0.4327, allocations: 140.2 kB / 0.7465 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002681/0.4329, allocations: 145.1 kB / 0.7467 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.805e-05/0.433, allocations: 20.97 kB / 0.7467 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005748/0.4336, allocations: 379.1 kB / 0.7471 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.853e-05/0.4336, allocations: 87.81 kB / 0.7471 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.4338, allocations: 103.9 kB / 0.7472 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000623/0.4344, allocations: 0.4947 MB / 0.7477 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.4344, allocations: 0 / 0.7477 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.352e-06/0.4344, allocations: 1.094 kB / 0.7477 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.4344, allocations: 0 / 0.7477 GB, free: 13.15 MB / 0.5919 GB 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.0006965/0.4351, allocations: 0.4978 MB / 0.7482 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.4351, allocations: 10 kB / 0.7482 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007962/0.4359, allocations: 108.3 kB / 0.7483 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.4362, allocations: 214 kB / 0.7485 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.441e-05/0.4363, allocations: 12.53 kB / 0.7485 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.307e-05/0.4363, allocations: 21.78 kB / 0.7486 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005274/0.4368, allocations: 400 kB / 0.7489 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.4368, allocations: 5.344 kB / 0.749 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.981e-05/0.4369, allocations: 14.42 kB / 0.749 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.833e-05/0.4369, allocations: 21.86 kB / 0.749 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004045/0.4373, allocations: 293.8 kB / 0.7493 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001626/0.4389, allocations: 1.234 MB / 0.7505 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004201/0.4394, allocations: 233.5 kB / 0.7507 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.4395, allocations: 104 kB / 0.7508 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.195e-05/0.4396, allocations: 10.09 kB / 0.7508 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.4396, allocations: 49.36 kB / 0.7508 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=16): time 1.393e-06/0.4396, allocations: 0 / 0.7508 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.002363/0.442, allocations: 0.881 MB / 0.7517 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.269e-05/0.442, allocations: 88.02 kB / 0.7518 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.4422, allocations: 217.1 kB / 0.752 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.4422, allocations: 31.11 kB / 0.752 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.352e-05/0.4423, allocations: 169.2 kB / 0.7522 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.952e-05/0.4423, allocations: 88.94 kB / 0.7523 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.311e-05/0.4424, allocations: 63.44 kB / 0.7523 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.346e-05/0.4424, allocations: 329.7 kB / 0.7527 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/0.4426, allocations: 131 kB / 0.7528 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/0.4429, allocations: 210.6 kB / 0.753 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004201/0.4433, allocations: 378.6 kB / 0.7533 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.4433, allocations: 0 / 0.7533 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008209/0.4441, allocations: 0.5001 MB / 0.7538 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.4441, allocations: 6.344 kB / 0.7538 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.4441, allocations: 3.281 kB / 0.7538 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004962/0.4446, allocations: 155.4 kB / 0.754 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002552/0.4449, allocations: 61.38 kB / 0.754 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002204/0.4471, allocations: 3.937 MB / 0.7579 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.4473, allocations: 22.2 kB / 0.7579 GB, free: 5.441 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.667e-05/0.4473, allocations: 10.06 kB / 0.7579 GB, free: 5.441 MB / 0.5919 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.000138/0.4475, allocations: 167.2 kB / 0.7581 GB, free: 5.297 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.83e-05/0.4475, allocations: 26.95 kB / 0.7581 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008276/0.4483, allocations: 481.8 kB / 0.7586 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.4484, allocations: 3.375 kB / 0.7586 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.4484, allocations: 5.688 kB / 0.7586 GB, free: 5.047 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.4484, allocations: 1.312 kB / 0.7586 GB, free: 5.047 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/0.4498, allocations: 0.884 MB / 0.7594 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.4498, allocations: 2.594 kB / 0.7594 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/0.4499, allocations: 34.8 kB / 0.7595 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003804/0.4503, allocations: 147.4 kB / 0.7596 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.4503, allocations: 8.938 kB / 0.7596 GB, free: 4.426 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001994/0.4523, allocations: 3.906 MB / 0.7634 GB, free: 0.6719 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.4523, allocations: 2.281 kB / 0.7634 GB, free: 0.6719 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006736/0.453, allocations: 0.6215 MB / 0.764 GB, free: 184 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.939e-05/0.4531, allocations: 45.44 kB / 0.7641 GB, free: 156 kB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.133e-05/0.4531, allocations: 11.8 kB / 0.7641 GB, free: 148 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.4533, allocations: 13.55 kB / 0.7641 GB, free: 144 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.255e-05/0.4534, allocations: 25.88 kB / 0.7641 GB, free: 128 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.4534, allocations: 16.28 kB / 0.7642 GB, free: 120 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001375/0.4535, allocations: 161.4 kB / 0.7643 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.4535, allocations: 1.219 kB / 0.7643 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005591/0.4541, allocations: 94.88 kB / 0.7644 GB, free: 15.98 MB / 0.6075 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.0002107/0.4543, allocations: 131.2 kB / 0.7645 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009752/0.4553, allocations: 0.5674 MB / 0.7651 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.4553, allocations: 1 kB / 0.7651 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005603/0.4558, allocations: 401.2 kB / 0.7655 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000518/0.4564, allocations: 40.84 kB / 0.7655 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.4574, allocations: 0.6384 MB / 0.7661 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/0.4576, allocations: 170.2 kB / 0.7663 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001601/0.4578, allocations: 54.56 kB / 0.7663 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.463e-05/0.4578, allocations: 24.23 kB / 0.7664 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.4578, allocations: 0 / 0.7664 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of Templates: time 0.009078/0.4669, allocations: 4.162 MB / 0.7704 GB, free: 12.46 MB / 0.6075 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=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.029044350027107] Failed to read output from testmodel.py, exit status != 0: 0.47513367503415793 0.48909870699999997 0.051693859 Calling exit ...