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.001894/0.001894, allocations: 77.23 kB / 19.76 MB, free: 2.031 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.002023/0.002023, allocations: 162.4 kB / 23.01 MB, free: 4.945 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.411/1.411, allocations: 177.2 MB / 203.4 MB, free: 8.961 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.00246/0.00246, allocations: 237.9 kB / 260 MB, free: 420 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.919/0.919, allocations: 138.5 MB / 455 MB, free: 15.06 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.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: 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.003292/0.003292, allocations: 103.8 kB / 0.6473 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4256/0.4289, allocations: 95.35 MB / 0.7404 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003175/0.4321, allocations: 2.309 MB / 0.7427 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.4332, allocations: 0.8199 MB / 0.7435 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.173e-05/0.4333, allocations: 1.406 kB / 0.7435 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004973/0.4338, allocations: 146.2 kB / 0.7436 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001547/0.4339, allocations: 67.38 kB / 0.7437 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001502/0.4341, allocations: 65.02 kB / 0.7438 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001971/0.4343, allocations: 161.1 kB / 0.7439 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002064/0.4345, allocations: 82.25 kB / 0.744 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.4346, allocations: 74.94 kB / 0.7441 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.4347, allocations: 70.86 kB / 0.7441 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.4348, allocations: 11.94 kB / 0.7441 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.4349, allocations: 54.03 kB / 0.7442 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.418e-05/0.4349, allocations: 39.08 kB / 0.7442 GB, free: 15 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 7.375e-05/0.435, allocations: 48.03 kB / 0.7443 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.4352, allocations: 182.7 kB / 0.7444 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4352, allocations: 5.312 kB / 0.7444 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4352, allocations: 0 / 0.7444 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.4352, allocations: 0 / 0.7444 GB, free: 14.91 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005125/0.4358, allocations: 437.1 kB / 0.7449 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.879e-05/0.4358, allocations: 10.94 kB / 0.7449 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002693/0.436, allocations: 34.56 kB / 0.7449 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.4362, allocations: 162.8 kB / 0.7451 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.357e-05/0.4363, allocations: 67.11 kB / 0.7451 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.4363, allocations: 10.88 kB / 0.7451 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002489/0.4366, allocations: 180.4 kB / 0.7453 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.4366, allocations: 0 / 0.7453 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.4366, allocations: 10.75 kB / 0.7453 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.4366, allocations: 4.781 kB / 0.7453 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001915/0.4368, allocations: 118 kB / 0.7454 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006231/0.4374, allocations: 0.5539 MB / 0.746 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/0.4376, allocations: 82.89 kB / 0.7461 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.806e-05/0.4377, allocations: 58.95 kB / 0.7461 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.4377, allocations: 1.344 kB / 0.7461 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000183/0.4379, allocations: 177.3 kB / 0.7463 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.4379, allocations: 1.531 kB / 0.7463 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of matching and sorting (n=7): time 0.0003614/0.4383, allocations: 227.7 kB / 0.7465 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.4383, allocations: 134.1 kB / 0.7466 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.4384, allocations: 185 kB / 0.7468 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.4384, allocations: 31.27 kB / 0.7468 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.623e-05/0.4385, allocations: 143.2 kB / 0.747 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.4385, allocations: 23.05 kB / 0.747 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.968e-05/0.4386, allocations: 41.78 kB / 0.747 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.579e-05/0.4386, allocations: 322.4 kB / 0.7473 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.4387, allocations: 96.62 kB / 0.7474 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.4388, allocations: 165.4 kB / 0.7476 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/0.439, allocations: 227.9 kB / 0.7478 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.439, allocations: 1.375 kB / 0.7478 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000315/0.4393, allocations: 310.8 kB / 0.7481 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.081e-05/0.4394, allocations: 70.36 kB / 0.7482 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.4394, allocations: 2.281 kB / 0.7482 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.4394, allocations: 3.875 kB / 0.7482 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.4395, allocations: 35.17 kB / 0.7482 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.4395, allocations: 4.328 kB / 0.7482 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.4396, allocations: 21.97 kB / 0.7482 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.4396, allocations: 8.125 kB / 0.7482 GB, free: 11.55 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: 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 8.756e-05/0.4397, allocations: 170 kB / 0.7484 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.2e-05/0.4398, allocations: 23.5 kB / 0.7484 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.61e-05/0.4398, allocations: 15.69 kB / 0.7484 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.4398, allocations: 1.125 kB / 0.7484 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.4398, allocations: 0 / 0.7484 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.4398, allocations: 0.5625 kB / 0.7484 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.924e-05/0.4399, allocations: 144.8 kB / 0.7486 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.4399, allocations: 0.7031 kB / 0.7486 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.708e-05/0.44, allocations: 11.41 kB / 0.7486 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.44, allocations: 0 / 0.7486 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.44, allocations: 6.375 kB / 0.7486 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.44, allocations: 0.6094 kB / 0.7486 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.44, allocations: 4 kB / 0.7486 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003469/0.4403, allocations: 286.3 kB / 0.7489 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.011e-05/0.4403, allocations: 12.59 kB / 0.7489 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.4404, allocations: 6.766 kB / 0.7489 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.186e-05/0.4405, allocations: 10.34 kB / 0.7489 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.4405, allocations: 10.8 kB / 0.7489 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.4405, allocations: 6.078 kB / 0.7489 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.272e-05/0.4406, allocations: 139.4 kB / 0.7491 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.4406, allocations: 0 / 0.7491 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002386/0.4408, allocations: 34.81 kB / 0.7491 GB, free: 10.88 MB / 0.5919 GB 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 6.041e-05/0.4409, allocations: 102.3 kB / 0.7492 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002851/0.4412, allocations: 298.4 kB / 0.7495 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4412, allocations: 0 / 0.7495 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.4413, allocations: 120 kB / 0.7496 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.4415, allocations: 26.77 kB / 0.7496 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004813/0.442, allocations: 329.5 kB / 0.7499 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.65e-05/0.4421, allocations: 106.8 kB / 0.75 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.403e-05/0.4421, allocations: 20.3 kB / 0.75 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.612e-05/0.4422, allocations: 15.22 kB / 0.7501 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of SimCode: time 3.41e-07/0.4422, allocations: 0 / 0.7501 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of Templates: time 0.004393/0.4465, allocations: 1.475 MB / 0.7515 GB, free: 9.891 MB / 0.5919 GB " [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=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.811620712047443] Failed to read output from testmodel.py, exit status != 0: 0.4542880110675469 0.46427022799999995 0.026714396 Calling exit ...