Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.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.001323/0.001323, allocations: 89.06 kB / 19.65 MB, free: 276 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.001071/0.001071, allocations: 165 kB / 23.01 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.9875/0.9875, allocations: 177.1 MB / 203.4 MB, free: 5.66 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.005078/0.005078, allocations: 232.8 kB / 260.2 MB, free: 12.84 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.7537/0.7537, allocations: 138.4 MB / 455.2 MB, free: 1.574 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.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.5551 GB, free: 0.5938 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.435e-05/2.6e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002756/0.002782, allocations: 2.105 MB / 0.5571 GB, free: 14.47 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009918/0.003774, allocations: 0.6933 MB / 0.5578 GB, free: 13.77 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.644e-05/0.00387, allocations: 4 kB / 0.5578 GB, free: 13.77 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004756/0.004346, allocations: 99.52 kB / 0.5579 GB, free: 13.67 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001582/0.004504, allocations: 67.55 kB / 0.558 GB, free: 13.6 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001502/0.004654, allocations: 71.72 kB / 0.558 GB, free: 13.53 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002132/0.004867, allocations: 159.4 kB / 0.5582 GB, free: 13.38 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002178/0.005085, allocations: 89.05 kB / 0.5583 GB, free: 13.29 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.005261, allocations: 99.78 kB / 0.5584 GB, free: 13.19 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.005423, allocations: 51.86 kB / 0.5584 GB, free: 13.14 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.005448, allocations: 16 kB / 0.5584 GB, free: 13.12 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.005556, allocations: 55.81 kB / 0.5585 GB, free: 13.07 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.226e-05/0.005618, allocations: 43.84 kB / 0.5585 GB, free: 13.03 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.881e-05/0.005687, allocations: 43.91 kB / 0.5586 GB, free: 12.98 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002254/0.005913, allocations: 139.5 kB / 0.5587 GB, free: 12.85 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.005915, allocations: 0 / 0.5587 GB, free: 12.85 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.005917, allocations: 0 / 0.5587 GB, free: 12.85 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.005921, allocations: 0 / 0.5587 GB, free: 12.85 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006073/0.006528, allocations: 0.5112 MB / 0.5592 GB, free: 12.29 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.00657, allocations: 8.75 kB / 0.5592 GB, free: 12.28 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000252/0.006822, allocations: 52.83 kB / 0.5593 GB, free: 12.23 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.007033, allocations: 168.9 kB / 0.5594 GB, free: 12.04 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.98e-05/0.007093, allocations: 64.16 kB / 0.5595 GB, free: 11.96 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/0.00712, allocations: 8.375 kB / 0.5595 GB, free: 11.96 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002243/0.007345, allocations: 171 kB / 0.5597 GB, free: 11.76 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.007354, allocations: 0 / 0.5597 GB, free: 11.76 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.007369, allocations: 4 kB / 0.5597 GB, free: 11.76 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.335e-05/0.007393, allocations: 4 kB / 0.5597 GB, free: 11.75 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.807e-05/0.007481, allocations: 72.61 kB / 0.5597 GB, free: 11.68 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006323/0.008113, allocations: 0.6956 MB / 0.5604 GB, free: 10.93 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.008282, allocations: 76.75 kB / 0.5605 GB, free: 10.84 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.266e-05/0.008325, allocations: 45.45 kB / 0.5605 GB, free: 10.78 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.00834, allocations: 0 / 0.5605 GB, free: 10.78 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001561/0.008497, allocations: 166.1 kB / 0.5607 GB, free: 10.59 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.008498, allocations: 0 / 0.5607 GB, free: 10.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002393/0.008737, allocations: 198.8 kB / 0.5609 GB, free: 10.37 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.00879, allocations: 136.5 kB / 0.561 GB, free: 10.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.008919, allocations: 233.8 kB / 0.5612 GB, free: 9.957 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.008932, allocations: 33.7 kB / 0.5613 GB, free: 9.918 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.416e-05/0.009007, allocations: 190.4 kB / 0.5614 GB, free: 9.727 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.009026, allocations: 23.8 kB / 0.5615 GB, free: 9.703 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.046e-05/0.009077, allocations: 47.36 kB / 0.5615 GB, free: 9.648 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.009191, allocations: 0.4962 MB / 0.562 GB, free: 9.141 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.336e-05/0.009244, allocations: 67.39 kB / 0.5621 GB, free: 9.062 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.639e-05/0.009341, allocations: 179.9 kB / 0.5622 GB, free: 8.828 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.009479, allocations: 229.6 kB / 0.5624 GB, free: 8.539 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.009482, allocations: 0 / 0.5624 GB, free: 8.539 MB / 490.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002242/0.009706, allocations: 280.2 kB / 0.5627 GB, free: 8.234 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.768e-05/0.009743, allocations: 67.39 kB / 0.5628 GB, free: 8.156 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.009748, allocations: 0 / 0.5628 GB, free: 8.156 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.009766, allocations: 8.031 kB / 0.5628 GB, free: 8.148 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.688e-05/0.009853, allocations: 35.86 kB / 0.5628 GB, free: 8.113 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.00986, allocations: 4 kB / 0.5628 GB, free: 8.109 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.761e-05/0.009927, allocations: 19.89 kB / 0.5628 GB, free: 8.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.00994, allocations: 12 kB / 0.5629 GB, free: 8.078 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 (voltageControl.ctrl.tSwitch,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.connected,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.372e-05/0.01003, allocations: 202.4 kB / 0.563 GB, free: 7.863 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.101e-05/0.01005, allocations: 15.91 kB / 0.5631 GB, free: 7.848 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.854e-05/0.01008, allocations: 17.45 kB / 0.5631 GB, free: 7.832 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.01009, allocations: 0 / 0.5631 GB, free: 7.832 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.01009, allocations: 7.938 kB / 0.5631 GB, free: 7.824 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.01009, allocations: 0 / 0.5631 GB, free: 7.824 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.0102, allocations: 156.5 kB / 0.5632 GB, free: 7.637 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.0102, allocations: 0 / 0.5632 GB, free: 7.637 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.715e-05/0.01025, allocations: 11.94 kB / 0.5632 GB, free: 7.625 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.01025, allocations: 3.984 kB / 0.5633 GB, free: 7.621 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.01026, allocations: 8 kB / 0.5633 GB, free: 7.613 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.01026, allocations: 0 / 0.5633 GB, free: 7.613 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.01026, allocations: 4 kB / 0.5633 GB, free: 7.609 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.0105, allocations: 261.3 kB / 0.5635 GB, free: 7.312 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.717e-05/0.01051, allocations: 7.953 kB / 0.5635 GB, free: 7.305 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.01053, allocations: 0 / 0.5635 GB, free: 7.305 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.087e-05/0.01057, allocations: 11.98 kB / 0.5635 GB, free: 7.293 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.237e-05/0.01062, allocations: 15.86 kB / 0.5635 GB, free: 7.277 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/0.01063, allocations: 4 kB / 0.5635 GB, free: 7.273 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.942e-05/0.0107, allocations: 164.2 kB / 0.5637 GB, free: 7.113 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0107, allocations: 32 / 0.5637 GB, free: 7.113 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001605/0.01086, allocations: 39.95 kB / 0.5637 GB, free: 7.074 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.844e-05/0.01094, allocations: 99.19 kB / 0.5638 GB, free: 6.969 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002138/0.01115, allocations: 281.8 kB / 0.5641 GB, free: 6.648 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01115, allocations: 4 kB / 0.5641 GB, free: 6.645 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.627e-05/0.01122, allocations: 112.8 kB / 0.5642 GB, free: 6.512 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.0114, allocations: 20.61 kB / 0.5642 GB, free: 6.492 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006334/0.01203, allocations: 316.4 kB / 0.5645 GB, free: 6.148 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.163e-05/0.01207, allocations: 75.27 kB / 0.5646 GB, free: 6.055 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.609e-05/0.01212, allocations: 24.62 kB / 0.5646 GB, free: 6.031 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.386e-05/0.01215, allocations: 12.5 kB / 0.5646 GB, free: 6.02 MB / 490.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01215, allocations: 0 / 0.5646 GB, free: 6.02 MB / 490.7 MB Notification: Performance of Templates: time 0.003265/0.01542, allocations: 1.489 MB / 0.5661 GB, free: 4.566 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.848460148088634]