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.001286/0.001286, allocations: 84.38 kB / 19.02 MB, free: 2.719 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.001463/0.001463, allocations: 162.7 kB / 22.26 MB, free: 4.715 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.394/1.394, allocations: 177.2 MB / 202.6 MB, free: 9.262 MB / 190.1 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.002529/0.002529, allocations: 223.7 kB / 259.2 MB, free: 0.5781 MB / 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 1.061/1.061, allocations: 138.5 MB / 454.2 MB, free: 2.055 MB / 366.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.003062/0.003062, allocations: 103.8 kB / 0.6466 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3876/0.3907, allocations: 95.35 MB / 0.7397 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004032/0.3947, allocations: 2.302 MB / 0.7419 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001568/0.3963, allocations: 0.8065 MB / 0.7427 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.3964, allocations: 7.938 kB / 0.7427 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006364/0.397, allocations: 143.4 kB / 0.7429 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002075/0.3972, allocations: 63.61 kB / 0.7429 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.3974, allocations: 67.86 kB / 0.743 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002805/0.3977, allocations: 155.4 kB / 0.7431 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002615/0.398, allocations: 88.89 kB / 0.7432 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/0.3982, allocations: 99.72 kB / 0.7433 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001966/0.3984, allocations: 63.69 kB / 0.7434 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.583e-05/0.3984, allocations: 16 kB / 0.7434 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.3985, allocations: 59.89 kB / 0.7434 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.086e-05/0.3986, allocations: 39.84 kB / 0.7435 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.878e-05/0.3987, allocations: 59.7 kB / 0.7435 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002916/0.399, allocations: 172.8 kB / 0.7437 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.399, allocations: 0 / 0.7437 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.853e-06/0.399, allocations: 0 / 0.7437 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.399, allocations: 0 / 0.7437 GB, free: 11.09 MB / 0.5762 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.000755/0.3998, allocations: 441.1 kB / 0.7441 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.3998, allocations: 9.344 kB / 0.7441 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002821/0.4001, allocations: 40.81 kB / 0.7442 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.4003, allocations: 158.9 kB / 0.7443 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.507e-05/0.4004, allocations: 67.72 kB / 0.7444 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.913e-05/0.4005, allocations: 8 kB / 0.7444 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/0.4008, allocations: 177.9 kB / 0.7446 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.4008, allocations: 3.938 kB / 0.7446 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.4008, allocations: 7.938 kB / 0.7446 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.946e-05/0.4008, allocations: 4 kB / 0.7446 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002332/0.401, allocations: 117.6 kB / 0.7447 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009228/0.402, allocations: 0.5543 MB / 0.7452 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002895/0.4023, allocations: 88.25 kB / 0.7453 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.469e-05/0.4024, allocations: 54.55 kB / 0.7454 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.4024, allocations: 0 / 0.7454 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000247/0.4026, allocations: 184.6 kB / 0.7456 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.4026, allocations: 4 kB / 0.7456 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0004508/0.4031, allocations: 226.6 kB / 0.7458 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.4032, allocations: 136.5 kB / 0.7459 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.4034, allocations: 183.1 kB / 0.7461 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.4034, allocations: 29.7 kB / 0.7461 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.4035, allocations: 143.7 kB / 0.7462 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.753e-05/0.4035, allocations: 19.86 kB / 0.7463 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.363e-05/0.4036, allocations: 37.7 kB / 0.7463 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.4038, allocations: 322.8 kB / 0.7466 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.4039, allocations: 99.38 kB / 0.7467 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/0.4041, allocations: 164.8 kB / 0.7469 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003003/0.4044, allocations: 234.3 kB / 0.7471 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.4044, allocations: 0 / 0.7471 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004284/0.4048, allocations: 308 kB / 0.7474 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.244e-05/0.4049, allocations: 59.34 kB / 0.7474 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.4049, allocations: 7.984 kB / 0.7474 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.4049, allocations: 8.312 kB / 0.7474 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.405, allocations: 31.92 kB / 0.7475 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.405, allocations: 4 kB / 0.7475 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.4052, allocations: 23.89 kB / 0.7475 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.4052, allocations: 7.984 kB / 0.7475 GB, free: 6.746 MB / 0.5762 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 0.0001424/0.4053, allocations: 167.4 kB / 0.7477 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.228e-05/0.4054, allocations: 23.83 kB / 0.7477 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.069e-05/0.4054, allocations: 13.47 kB / 0.7477 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.4054, allocations: 0 / 0.7477 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.4054, allocations: 7.938 kB / 0.7477 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.4054, allocations: 0 / 0.7477 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001423/0.4055, allocations: 149.3 kB / 0.7479 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4055, allocations: 0 / 0.7479 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.173e-05/0.4056, allocations: 11.98 kB / 0.7479 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.4056, allocations: 0 / 0.7479 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.4057, allocations: 7.938 kB / 0.7479 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.4057, allocations: 0 / 0.7479 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4057, allocations: 0 / 0.7479 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004627/0.4061, allocations: 286 kB / 0.7481 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.522e-05/0.4061, allocations: 15.94 kB / 0.7482 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.897e-05/0.4062, allocations: 7.938 kB / 0.7482 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.538e-05/0.4063, allocations: 11.98 kB / 0.7482 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.248e-05/0.4063, allocations: 7.984 kB / 0.7482 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.4063, allocations: 4 kB / 0.7482 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001218/0.4064, allocations: 136.3 kB / 0.7483 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.4064, allocations: 0 / 0.7483 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002383/0.4067, allocations: 28 kB / 0.7483 GB, free: 5.805 MB / 0.5762 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 0.0001036/0.4068, allocations: 111.2 kB / 0.7485 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004074/0.4072, allocations: 299.7 kB / 0.7487 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4072, allocations: 0 / 0.7487 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.4073, allocations: 117.1 kB / 0.7489 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.4076, allocations: 19.92 kB / 0.7489 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006226/0.4082, allocations: 336.9 kB / 0.7492 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.969e-05/0.4083, allocations: 98.27 kB / 0.7493 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.418e-05/0.4084, allocations: 24.81 kB / 0.7493 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.292e-05/0.4084, allocations: 16.5 kB / 0.7493 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of SimCode: time 3.3e-07/0.4084, allocations: 0 / 0.7493 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of Templates: time 0.004607/0.413, allocations: 1.47 MB / 0.7508 GB, free: 3.254 MB / 0.5762 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.730059774592519] Failed to read output from testmodel.py, exit status != 0: 0.4208017271012068 0.435753498 0.033517527000000005 Calling exit ...