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.0008055/0.0008055, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008044/0.0008044, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8727/0.8727, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.002109/0.002109, allocations: 234.4 kB / 260.2 MB, free: 13.02 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.6786/0.6786, allocations: 138.4 MB / 455 MB, free: 29.97 MB / 410.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.212e-06/1.212e-06, allocations: 0 / 0.6475 GB, free: 1.418 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.458e-05/1.579e-05, allocations: 6.219 kB / 0.6475 GB, free: 1.41 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.2168/0.2169, allocations: 2.286 MB / 0.6497 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.2179, allocations: 0.8192 MB / 0.6505 GB, free: 56.07 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.218, allocations: 4.219 kB / 0.6505 GB, free: 56.07 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005221/0.2185, allocations: 144.1 kB / 0.6507 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.000166/0.2187, allocations: 69.5 kB / 0.6507 GB, free: 55.99 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001633/0.2188, allocations: 68.45 kB / 0.6508 GB, free: 55.97 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002269/0.219, allocations: 165 kB / 0.6509 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002259/0.2193, allocations: 81.91 kB / 0.651 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001889/0.2195, allocations: 100.2 kB / 0.6511 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.2196, allocations: 62.34 kB / 0.6512 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.2196, allocations: 11.19 kB / 0.6512 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 9.096e-05/0.2197, allocations: 53.66 kB / 0.6512 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 5.173e-05/0.2198, allocations: 38.45 kB / 0.6513 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.852e-05/0.2198, allocations: 46.66 kB / 0.6513 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.2201, allocations: 181.8 kB / 0.6515 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2201, allocations: 0 / 0.6515 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2201, allocations: 3.938 kB / 0.6515 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.2201, allocations: 0 / 0.6515 GB, free: 55.84 MB / 0.5573 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.0005105/0.2206, allocations: 427.5 kB / 0.6519 GB, free: 55.47 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.2206, allocations: 12.61 kB / 0.6519 GB, free: 55.47 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001778/0.2208, allocations: 35.48 kB / 0.652 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.221, allocations: 152.1 kB / 0.6521 GB, free: 55.32 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.65e-05/0.221, allocations: 63 kB / 0.6522 GB, free: 55.26 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.2211, allocations: 14.14 kB / 0.6522 GB, free: 55.26 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.2213, allocations: 182.4 kB / 0.6523 GB, free: 55.15 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.2213, allocations: 0 / 0.6523 GB, free: 55.15 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.2213, allocations: 6.25 kB / 0.6524 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.2213, allocations: 4.281 kB / 0.6524 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.2214, allocations: 120.1 kB / 0.6525 GB, free: 55.08 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004826/0.2219, allocations: 0.5561 MB / 0.653 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.2221, allocations: 81.64 kB / 0.6531 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.529e-05/0.2221, allocations: 56.62 kB / 0.6531 GB, free: 54.49 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.2222, allocations: 1.312 kB / 0.6531 GB, free: 54.49 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000141/0.2223, allocations: 179.9 kB / 0.6533 GB, free: 54.33 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.2223, allocations: 0 / 0.6533 GB, free: 54.33 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7): time 0.0002649/0.2226, allocations: 222.4 kB / 0.6535 GB, free: 54.17 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.2226, allocations: 136.4 kB / 0.6537 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.2227, allocations: 193.8 kB / 0.6538 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.2227, allocations: 28.02 kB / 0.6539 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.068e-05/0.2228, allocations: 142.4 kB / 0.654 GB, free: 53.72 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.2228, allocations: 25.23 kB / 0.654 GB, free: 53.7 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.319e-05/0.2228, allocations: 37.5 kB / 0.6541 GB, free: 53.67 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.539e-05/0.2229, allocations: 323.5 kB / 0.6544 GB, free: 53.36 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.983e-05/0.2229, allocations: 96.27 kB / 0.6545 GB, free: 53.28 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.863e-05/0.223, allocations: 168.9 kB / 0.6546 GB, free: 53.11 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.2231, allocations: 234.5 kB / 0.6549 GB, free: 52.89 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2231, allocations: 0 / 0.6549 GB, free: 52.89 MB / 0.5573 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002207/0.2234, allocations: 306 kB / 0.6551 GB, free: 52.67 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.966e-05/0.2234, allocations: 62.53 kB / 0.6552 GB, free: 52.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2234, allocations: 7.5 kB / 0.6552 GB, free: 52.61 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.2234, allocations: 3.75 kB / 0.6552 GB, free: 52.61 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.375e-05/0.2235, allocations: 40.98 kB / 0.6553 GB, free: 52.59 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.2235, allocations: 4.312 kB / 0.6553 GB, free: 52.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.195e-05/0.2236, allocations: 22.78 kB / 0.6553 GB, free: 52.59 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.2236, allocations: 12.53 kB / 0.6553 GB, free: 52.58 MB / 0.5573 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 7.284e-05/0.2236, allocations: 166 kB / 0.6554 GB, free: 52.42 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.45e-05/0.2237, allocations: 19.05 kB / 0.6555 GB, free: 52.41 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.569e-05/0.2237, allocations: 14.67 kB / 0.6555 GB, free: 52.41 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.2237, allocations: 4.953 kB / 0.6555 GB, free: 52.41 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.2237, allocations: 3.938 kB / 0.6555 GB, free: 52.4 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.2237, allocations: 0 / 0.6555 GB, free: 52.4 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.972e-05/0.2238, allocations: 144.7 kB / 0.6556 GB, free: 52.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.2238, allocations: 0.9375 kB / 0.6556 GB, free: 52.27 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.358e-05/0.2238, allocations: 14.36 kB / 0.6556 GB, free: 52.27 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.2238, allocations: 3.531 kB / 0.6556 GB, free: 52.27 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.2238, allocations: 3.094 kB / 0.6556 GB, free: 52.27 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.2238, allocations: 0 / 0.6556 GB, free: 52.27 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.2238, allocations: 1.906 kB / 0.6556 GB, free: 52.27 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002465/0.2241, allocations: 285.2 kB / 0.6559 GB, free: 52.05 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.674e-05/0.2241, allocations: 13.25 kB / 0.6559 GB, free: 52.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.2241, allocations: 5.906 kB / 0.6559 GB, free: 52.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.201e-05/0.2242, allocations: 10.36 kB / 0.6559 GB, free: 52.04 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.294e-05/0.2242, allocations: 18.12 kB / 0.656 GB, free: 52.03 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.2242, allocations: 2.578 kB / 0.656 GB, free: 52.03 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.511e-05/0.2243, allocations: 135.4 kB / 0.6561 GB, free: 51.94 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.2243, allocations: 0 / 0.6561 GB, free: 51.94 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001635/0.2244, allocations: 35.28 kB / 0.6561 GB, free: 51.93 MB / 0.5573 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 7.389e-05/0.2245, allocations: 97.75 kB / 0.6562 GB, free: 51.84 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002057/0.2247, allocations: 299 kB / 0.6565 GB, free: 51.59 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2247, allocations: 0.5 kB / 0.6565 GB, free: 51.59 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 6.241e-05/0.2248, allocations: 124 kB / 0.6566 GB, free: 51.48 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001706/0.225, allocations: 18.09 kB / 0.6566 GB, free: 51.47 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004319/0.2254, allocations: 339.5 kB / 0.657 GB, free: 51.22 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.479e-05/0.2255, allocations: 104.2 kB / 0.6571 GB, free: 51.14 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.911e-05/0.2255, allocations: 13.97 kB / 0.6571 GB, free: 51.14 MB / 0.5573 GB Notification: Performance of SimCode: time 5.31e-07/0.2255, allocations: 4.938 kB / 0.6571 GB, free: 51.13 MB / 0.5573 GB Notification: Performance of Templates: time 0.002693/0.2282, allocations: 1.783 MB / 0.6588 GB, free: 51.02 MB / 0.5573 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.313617416657507] Failed to read output from testmodel.py, exit status != 0: 0.23372407164424658 0.24065503499999996 0.019137978 Calling exit ...