Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001375/0.001375, allocations: 71.77 kB / 20.51 MB, free: 1.125 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.001495/0.001495, allocations: 163.8 kB / 23.76 MB, free: 4.195 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.425/1.425, allocations: 177.2 MB / 204.1 MB, free: 8.898 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9989/0.9989, allocations: 113.9 MB / 374.5 MB, free: 12.87 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL") [Timeout 660] "Notification: IBPSA 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.002089/0.002089, allocations: 65.52 kB / 0.555 GB, free: 2.758 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1754, allocations: 89.14 MB / 0.6421 GB, free: 9.566 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003796/0.1792, allocations: 2.295 MB / 0.6443 GB, free: 7.262 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001443/0.1806, allocations: 0.826 MB / 0.6451 GB, free: 6.43 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.653e-05/0.1807, allocations: 3.938 kB / 0.6451 GB, free: 6.426 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006032/0.1813, allocations: 151.4 kB / 0.6453 GB, free: 6.277 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001949/0.1815, allocations: 67.59 kB / 0.6453 GB, free: 6.211 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.1817, allocations: 63.86 kB / 0.6454 GB, free: 6.148 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002363/0.1819, allocations: 155.5 kB / 0.6455 GB, free: 5.996 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002373/0.1821, allocations: 93.05 kB / 0.6456 GB, free: 5.906 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000161/0.1823, allocations: 67.77 kB / 0.6457 GB, free: 5.84 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.1825, allocations: 67.67 kB / 0.6457 GB, free: 5.773 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.643e-05/0.1825, allocations: 12 kB / 0.6458 GB, free: 5.762 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.1826, allocations: 55.89 kB / 0.6458 GB, free: 5.707 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.367e-05/0.1827, allocations: 35.91 kB / 0.6458 GB, free: 5.672 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.898e-05/0.1828, allocations: 63.66 kB / 0.6459 GB, free: 5.609 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002739/0.1831, allocations: 171.3 kB / 0.6461 GB, free: 5.441 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1831, allocations: 0 / 0.6461 GB, free: 5.441 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1831, allocations: 0 / 0.6461 GB, free: 5.441 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.1831, allocations: 4 kB / 0.6461 GB, free: 5.438 MB / 0.545 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.0007323/0.1838, allocations: 433.2 kB / 0.6465 GB, free: 4.973 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.1838, allocations: 8.031 kB / 0.6465 GB, free: 4.965 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000283/0.1841, allocations: 32.83 kB / 0.6465 GB, free: 4.934 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002502/0.1844, allocations: 158.8 kB / 0.6467 GB, free: 4.754 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.611e-05/0.1845, allocations: 67.72 kB / 0.6467 GB, free: 4.676 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/0.1845, allocations: 15.98 kB / 0.6468 GB, free: 4.66 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000301/0.1848, allocations: 168.2 kB / 0.6469 GB, free: 4.477 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.1848, allocations: 4 kB / 0.6469 GB, free: 4.473 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.1848, allocations: 8 kB / 0.6469 GB, free: 4.465 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.1848, allocations: 7.938 kB / 0.6469 GB, free: 4.457 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000225/0.1851, allocations: 121.5 kB / 0.6471 GB, free: 4.332 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008054/0.1859, allocations: 0.5504 MB / 0.6476 GB, free: 3.734 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002465/0.1861, allocations: 88.19 kB / 0.6477 GB, free: 3.633 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.466e-05/0.1862, allocations: 58.61 kB / 0.6477 GB, free: 3.566 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.1862, allocations: 0 / 0.6477 GB, free: 3.566 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002262/0.1864, allocations: 172.6 kB / 0.6479 GB, free: 3.367 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.1864, allocations: 0 / 0.6479 GB, free: 3.367 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004395/0.1869, allocations: 230.6 kB / 0.6481 GB, free: 3.117 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.187, allocations: 144.4 kB / 0.6482 GB, free: 2.945 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.1872, allocations: 186.3 kB / 0.6484 GB, free: 2.754 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.1872, allocations: 29.7 kB / 0.6485 GB, free: 2.719 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.408e-05/0.1873, allocations: 135.8 kB / 0.6486 GB, free: 2.582 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.041e-05/0.1873, allocations: 27.83 kB / 0.6486 GB, free: 2.555 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.099e-05/0.1874, allocations: 37.66 kB / 0.6486 GB, free: 2.512 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.1875, allocations: 326.8 kB / 0.649 GB, free: 2.184 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.1877, allocations: 95.33 kB / 0.6491 GB, free: 2.078 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000187/0.1879, allocations: 167.4 kB / 0.6492 GB, free: 1.871 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002839/0.1881, allocations: 234.3 kB / 0.6494 GB, free: 1.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.1881, allocations: 0 / 0.6494 GB, free: 1.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000429/0.1886, allocations: 304.4 kB / 0.6497 GB, free: 1.262 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.508e-05/0.1886, allocations: 69.52 kB / 0.6498 GB, free: 1.184 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1886, allocations: 4 kB / 0.6498 GB, free: 1.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.1886, allocations: 4 kB / 0.6498 GB, free: 1.176 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.1888, allocations: 27.98 kB / 0.6498 GB, free: 1.148 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.1888, allocations: 7.938 kB / 0.6498 GB, free: 1.141 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.1889, allocations: 27.88 kB / 0.6499 GB, free: 1.113 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.1889, allocations: 8 kB / 0.6499 GB, free: 1.105 MB / 0.545 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.0001463/0.1891, allocations: 166.9 kB / 0.65 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/0.1891, allocations: 19.84 kB / 0.65 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.046e-05/0.1891, allocations: 13.47 kB / 0.6501 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.686e-06/0.1891, allocations: 4.031 kB / 0.6501 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1891, allocations: 7.922 kB / 0.6501 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1891, allocations: 3.938 kB / 0.6501 GB, free: 0.875 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.1893, allocations: 153.2 kB / 0.6502 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1893, allocations: 0 / 0.6502 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.76e-05/0.1894, allocations: 8 kB / 0.6502 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1894, allocations: 0 / 0.6502 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.887e-05/0.1894, allocations: 15.92 kB / 0.6502 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1894, allocations: 4 kB / 0.6502 GB, free: 0.668 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1894, allocations: 0 / 0.6502 GB, free: 0.668 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004496/0.1899, allocations: 270.1 kB / 0.6505 GB, free: 376 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.473e-05/0.1899, allocations: 11.97 kB / 0.6505 GB, free: 364 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.978e-05/0.1899, allocations: 15.88 kB / 0.6505 GB, free: 348 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.161e-05/0.19, allocations: 8 kB / 0.6505 GB, free: 340 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.384e-05/0.1901, allocations: 7.984 kB / 0.6505 GB, free: 332 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.1901, allocations: 4 kB / 0.6505 GB, free: 328 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001123/0.1902, allocations: 136.2 kB / 0.6507 GB, free: 192 kB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1902, allocations: 4.062 kB / 0.6507 GB, free: 188 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002493/0.1904, allocations: 31.95 kB / 0.6507 GB, free: 156 kB / 0.545 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.0001062/0.1905, allocations: 99.25 kB / 0.6508 GB, free: 48 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004026/0.1909, allocations: 295.8 kB / 0.6511 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1909, allocations: 0 / 0.6511 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.1911, allocations: 121.7 kB / 0.6512 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.1913, allocations: 20 kB / 0.6512 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000606/0.1919, allocations: 336.1 kB / 0.6515 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.822e-05/0.192, allocations: 102.2 kB / 0.6516 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.711e-05/0.1921, allocations: 16.64 kB / 0.6517 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.1921, allocations: 16.5 kB / 0.6517 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.1921, allocations: 0 / 0.6517 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of Templates: time 0.004502/0.1966, allocations: 1.464 MB / 0.6531 GB, free: 13.62 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.473043343052268] Failed to read output from testmodel.py, exit status != 0: 0.20510705199558288 0.21888000199999996 0.032869919000000004 Calling exit ...