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.001388/0.001388, allocations: 117.8 kB / 19.69 MB, free: 2.199 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.001457/0.001457, allocations: 223.3 kB / 23.01 MB, free: 5.043 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.9948/0.9948, allocations: 150 MB / 463.2 MB, free: 10.5 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.002225/0.002225, allocations: 75.19 kB / 0.6412 GB, free: 10.41 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1705, allocations: 89.16 MB / 0.7283 GB, free: 1.316 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004511/0.175, allocations: 2.374 MB / 0.7306 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001697/0.1767, allocations: 0.8883 MB / 0.7315 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001543/0.1768, allocations: 7.938 kB / 0.7315 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006673/0.1775, allocations: 147.4 kB / 0.7317 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002517/0.1778, allocations: 63.61 kB / 0.7317 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002638/0.178, allocations: 67.86 kB / 0.7318 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003021/0.1783, allocations: 159.5 kB / 0.7319 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002575/0.1786, allocations: 89 kB / 0.732 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000186/0.1788, allocations: 67.77 kB / 0.7321 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001949/0.179, allocations: 75.67 kB / 0.7322 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.011e-05/0.179, allocations: 12 kB / 0.7322 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001605/0.1791, allocations: 67.88 kB / 0.7322 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.023e-05/0.1792, allocations: 31.91 kB / 0.7323 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.1793, allocations: 67.61 kB / 0.7323 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003601/0.1797, allocations: 179.3 kB / 0.7325 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1797, allocations: 4 kB / 0.7325 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1797, allocations: 4 kB / 0.7325 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.1797, allocations: 0 / 0.7325 GB, free: 13.01 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.0008928/0.1806, allocations: 421.2 kB / 0.7329 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.1806, allocations: 12.03 kB / 0.7329 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.412e-05/0.1807, allocations: 46.73 kB / 0.733 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003472/0.1811, allocations: 32.83 kB / 0.733 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/0.1814, allocations: 168.3 kB / 0.7331 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.3e-05/0.1814, allocations: 67.53 kB / 0.7332 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.1815, allocations: 8 kB / 0.7332 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000331/0.1818, allocations: 144.2 kB / 0.7334 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.1818, allocations: 3.984 kB / 0.7334 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.1818, allocations: 11.94 kB / 0.7334 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.093e-05/0.1818, allocations: 4 kB / 0.7334 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002189/0.1821, allocations: 91.88 kB / 0.7335 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009577/0.183, allocations: 0.6004 MB / 0.7341 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002474/0.1833, allocations: 62.5 kB / 0.7341 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.804e-05/0.1834, allocations: 24.91 kB / 0.7341 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.1834, allocations: 192 / 0.7341 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002295/0.1836, allocations: 154.6 kB / 0.7343 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.1836, allocations: 0 / 0.7343 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004082/0.184, allocations: 163.2 kB / 0.7344 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.1841, allocations: 136.5 kB / 0.7346 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.1843, allocations: 186.7 kB / 0.7347 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.1843, allocations: 25.7 kB / 0.7348 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.1844, allocations: 148 kB / 0.7349 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.1845, allocations: 15.86 kB / 0.7349 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.27e-05/0.1845, allocations: 37.7 kB / 0.735 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.1847, allocations: 326.8 kB / 0.7353 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.1848, allocations: 43.97 kB / 0.7353 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.185, allocations: 109.4 kB / 0.7354 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002891/0.1853, allocations: 230.3 kB / 0.7356 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1853, allocations: 0 / 0.7356 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004149/0.1857, allocations: 244.7 kB / 0.7359 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.86e-05/0.1857, allocations: 63.39 kB / 0.7359 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.1857, allocations: 4.312 kB / 0.7359 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.1858, allocations: 11.94 kB / 0.736 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.1859, allocations: 35.92 kB / 0.736 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.1859, allocations: 4 kB / 0.736 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.186, allocations: 31.77 kB / 0.736 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.1861, allocations: 12 kB / 0.736 GB, free: 8.996 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.0001608/0.1862, allocations: 160 kB / 0.7362 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.732e-05/0.1862, allocations: 15.89 kB / 0.7362 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.721e-05/0.1863, allocations: 17.41 kB / 0.7362 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.1863, allocations: 0 / 0.7362 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1863, allocations: 4 kB / 0.7362 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1863, allocations: 3.938 kB / 0.7362 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.1865, allocations: 188.6 kB / 0.7364 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.1865, allocations: 3.938 kB / 0.7364 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.604e-05/0.1866, allocations: 11.98 kB / 0.7364 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.1866, allocations: 0 / 0.7364 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.1866, allocations: 4 kB / 0.7364 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.1866, allocations: 0 / 0.7364 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1866, allocations: 4 kB / 0.7364 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004989/0.1871, allocations: 214.8 kB / 0.7366 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.024e-05/0.1871, allocations: 11.84 kB / 0.7366 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.281e-05/0.1872, allocations: 7.938 kB / 0.7366 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.709e-05/0.1873, allocations: 11.98 kB / 0.7367 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.954e-05/0.1873, allocations: 11.98 kB / 0.7367 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.1873, allocations: 4.062 kB / 0.7367 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001315/0.1875, allocations: 136.3 kB / 0.7368 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1875, allocations: 0 / 0.7368 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002687/0.1877, allocations: 31.94 kB / 0.7368 GB, free: 8.082 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.0008193/0.1886, allocations: 0.7516 MB / 0.7376 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003678/0.1889, allocations: 210.6 kB / 0.7378 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1889, allocations: 0 / 0.7378 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.1891, allocations: 91.31 kB / 0.7379 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.1893, allocations: 21.53 kB / 0.7379 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002645/0.192, allocations: 1.991 MB / 0.7398 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004544/0.1924, allocations: 0.7123 MB / 0.7405 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.452e-05/0.1925, allocations: 16.64 kB / 0.7405 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.16e-05/0.1926, allocations: 43.42 kB / 0.7406 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/0.1926, allocations: 0 / 0.7406 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04699/0.2396, allocations: 3.375 MB / 0.7439 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.58, allocations: 10.45 kB / 0.7439 GB, free: 0.7812 MB / 0.5606 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_Utilities_Examples_TestVoltageCTRL_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 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.263421019073576] Failed to read output from testmodel.py, exit status != 0: 11.690751892048866 11.715069908 11.530910820999999 Calling exit ...