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.001358/0.001358, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001512/0.001512, allocations: 209.6 kB / 22.99 MB, free: 4.605 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.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.9632/0.9632, allocations: 149.9 MB / 463.1 MB, free: 10.39 MB / 366.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: "" <> buildModelFMU(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) [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.002415/0.002415, allocations: 66.66 kB / 0.641 GB, free: 10.21 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1715, allocations: 89.18 MB / 0.7281 GB, free: 1.102 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004826/0.1763, allocations: 2.305 MB / 0.7304 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001771/0.1781, allocations: 0.8144 MB / 0.7312 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001486/0.1782, allocations: 11.94 kB / 0.7312 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007026/0.1789, allocations: 143.4 kB / 0.7313 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002615/0.1792, allocations: 63.61 kB / 0.7314 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002211/0.1794, allocations: 63.86 kB / 0.7314 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002834/0.1797, allocations: 163.4 kB / 0.7316 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002823/0.18, allocations: 85.06 kB / 0.7317 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002164/0.1802, allocations: 75.75 kB / 0.7318 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.1804, allocations: 63.69 kB / 0.7318 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.66e-05/0.1804, allocations: 12 kB / 0.7318 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/0.1806, allocations: 59.83 kB / 0.7319 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.155e-05/0.1806, allocations: 39.84 kB / 0.7319 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.219e-05/0.1807, allocations: 59.72 kB / 0.732 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003354/0.1811, allocations: 175.3 kB / 0.7321 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1811, allocations: 0 / 0.7321 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1811, allocations: 0 / 0.7321 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.202e-05/0.1811, allocations: 0 / 0.7321 GB, free: 12.97 MB / 0.5606 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.001/0.1821, allocations: 421.2 kB / 0.7325 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.1821, allocations: 12.03 kB / 0.7326 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.062e-05/0.1822, allocations: 46.73 kB / 0.7326 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003365/0.1825, allocations: 32.83 kB / 0.7326 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003412/0.1829, allocations: 171.9 kB / 0.7328 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.614e-05/0.183, allocations: 63.53 kB / 0.7329 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.122e-05/0.183, allocations: 12 kB / 0.7329 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003899/0.1834, allocations: 173.8 kB / 0.733 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1834, allocations: 3.938 kB / 0.733 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.1834, allocations: 8 kB / 0.733 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.566e-05/0.1834, allocations: 7.984 kB / 0.7331 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002377/0.1837, allocations: 118.3 kB / 0.7332 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009633/0.1846, allocations: 0.577 MB / 0.7337 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002911/0.1849, allocations: 88.19 kB / 0.7338 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.185, allocations: 62.59 kB / 0.7339 GB, free: 11 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.185, allocations: 192 / 0.7339 GB, free: 11 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003245/0.1854, allocations: 176.4 kB / 0.734 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.1854, allocations: 0 / 0.734 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004638/0.1858, allocations: 226.6 kB / 0.7343 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.1859, allocations: 136.5 kB / 0.7344 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/0.1862, allocations: 190.7 kB / 0.7346 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.1862, allocations: 25.7 kB / 0.7346 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.1863, allocations: 144 kB / 0.7347 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/0.1863, allocations: 27.78 kB / 0.7348 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.824e-05/0.1864, allocations: 33.72 kB / 0.7348 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.1866, allocations: 330.8 kB / 0.7351 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.1867, allocations: 91.38 kB / 0.7352 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.1869, allocations: 168.8 kB / 0.7354 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002922/0.1872, allocations: 238.3 kB / 0.7356 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1872, allocations: 0 / 0.7356 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004847/0.1877, allocations: 308 kB / 0.7359 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001111/0.1878, allocations: 67.7 kB / 0.7359 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.1878, allocations: 4 kB / 0.7359 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.1878, allocations: 4 kB / 0.7359 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.188, allocations: 27.92 kB / 0.736 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.188, allocations: 4 kB / 0.736 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.1881, allocations: 27.88 kB / 0.736 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.1881, allocations: 8 kB / 0.736 GB, free: 8.531 MB / 0.5606 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.0002092/0.1883, allocations: 167.5 kB / 0.7362 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.816e-05/0.1884, allocations: 15.84 kB / 0.7362 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.31e-05/0.1884, allocations: 17.41 kB / 0.7362 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1884, allocations: 7.938 kB / 0.7362 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1884, allocations: 0 / 0.7362 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.1884, allocations: 0 / 0.7362 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002062/0.1886, allocations: 168.7 kB / 0.7364 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.1886, allocations: 3.938 kB / 0.7364 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.079e-05/0.1887, allocations: 11.98 kB / 0.7364 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.78e-06/0.1887, allocations: 4 kB / 0.7364 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.1887, allocations: 0 / 0.7364 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1887, allocations: 0 / 0.7364 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.1887, allocations: 4 kB / 0.7364 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004712/0.1892, allocations: 290 kB / 0.7367 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.443e-05/0.1892, allocations: 19.81 kB / 0.7367 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.362e-05/0.1893, allocations: 4 kB / 0.7367 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.57e-05/0.1894, allocations: 11.98 kB / 0.7367 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.517e-05/0.1894, allocations: 4 kB / 0.7367 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.1894, allocations: 15.98 kB / 0.7367 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001382/0.1896, allocations: 128.3 kB / 0.7368 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1896, allocations: 0 / 0.7368 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002589/0.1898, allocations: 32.06 kB / 0.7369 GB, free: 7.543 MB / 0.5606 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.0008482/0.1907, allocations: 0.8207 MB / 0.7377 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003983/0.1911, allocations: 291.7 kB / 0.738 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1911, allocations: 0 / 0.738 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001525/0.1912, allocations: 125.7 kB / 0.7381 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.1915, allocations: 22.34 kB / 0.7381 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002995/0.1945, allocations: 2.24 MB / 0.7403 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/0.1946, allocations: 106.6 kB / 0.7404 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.308e-05/0.1947, allocations: 24.84 kB / 0.7404 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.499e-05/0.1947, allocations: 43.42 kB / 0.7405 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of SimCode: time 7.51e-07/0.1947, allocations: 0 / 0.7405 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03509/0.2298, allocations: 3.748 MB / 0.7441 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.58, allocations: 21.64 kB / 0.7441 GB, free: 15.96 MB / 0.5762 GB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IBPSA_latest_IBPSA_Electrical_Utilities_Examples_TestVoltageCTRL.fmu > IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.438682965934277] Failed to read output from testmodel.py, exit status != 0: 11.687828682828695 11.712030929 11.5266527 Calling exit ...