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.001901/0.001901, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.002414/0.002414, allocations: 216.3 kB / 23.78 MB, free: 4.555 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.527/1.527, allocations: 230.6 MB / 257.5 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 1.023/1.023, allocations: 150 MB / 463.9 MB, free: 10.27 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="cs",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.00199/0.00199, allocations: 66.81 kB / 0.6419 GB, free: 9.992 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1686, allocations: 89.17 MB / 0.729 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004073/0.1727, allocations: 2.296 MB / 0.7312 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.1741, allocations: 0.8299 MB / 0.7321 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.983e-05/0.1742, allocations: 8 kB / 0.7321 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005799/0.1748, allocations: 139.4 kB / 0.7322 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001735/0.175, allocations: 63.61 kB / 0.7323 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001738/0.1752, allocations: 67.8 kB / 0.7323 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002391/0.1754, allocations: 159.4 kB / 0.7325 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002259/0.1756, allocations: 89.39 kB / 0.7326 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.1758, allocations: 67.77 kB / 0.7326 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.176, allocations: 79.61 kB / 0.7327 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.86e-05/0.176, allocations: 12 kB / 0.7327 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.1761, allocations: 59.89 kB / 0.7328 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.747e-05/0.1762, allocations: 35.89 kB / 0.7328 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.022e-05/0.1763, allocations: 55.73 kB / 0.7329 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00028/0.1765, allocations: 171.3 kB / 0.733 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1765, allocations: 0 / 0.733 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1765, allocations: 0 / 0.733 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.1766, allocations: 0 / 0.733 GB, free: 12.77 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.0007589/0.1773, allocations: 437.2 kB / 0.7334 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.1773, allocations: 8.031 kB / 0.7334 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.194e-05/0.1774, allocations: 8.312 kB / 0.7335 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.195e-05/0.1774, allocations: 42.69 kB / 0.7335 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002938/0.1777, allocations: 40.81 kB / 0.7335 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.1779, allocations: 158.6 kB / 0.7337 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.859e-05/0.178, allocations: 59.41 kB / 0.7337 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.525e-05/0.178, allocations: 12 kB / 0.7338 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003189/0.1784, allocations: 185.8 kB / 0.7339 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.1784, allocations: 4 kB / 0.7339 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/0.1784, allocations: 8 kB / 0.7339 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/0.1784, allocations: 4 kB / 0.7339 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002387/0.1787, allocations: 121.5 kB / 0.7341 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008531/0.1795, allocations: 0.581 MB / 0.7346 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.1798, allocations: 72.45 kB / 0.7347 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.493e-05/0.1799, allocations: 66.55 kB / 0.7348 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.1799, allocations: 4 kB / 0.7348 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002461/0.1801, allocations: 176.4 kB / 0.7349 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.1801, allocations: 4 kB / 0.7349 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004113/0.1805, allocations: 218.7 kB / 0.7351 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.31e-05/0.1806, allocations: 136.5 kB / 0.7353 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.1808, allocations: 182.7 kB / 0.7355 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.1808, allocations: 33.7 kB / 0.7355 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.971e-05/0.1809, allocations: 136 kB / 0.7356 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.1809, allocations: 23.86 kB / 0.7356 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.714e-05/0.181, allocations: 37.7 kB / 0.7357 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.1812, allocations: 322.8 kB / 0.736 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.1813, allocations: 99.38 kB / 0.7361 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.1815, allocations: 168.7 kB / 0.7362 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002784/0.1818, allocations: 234.4 kB / 0.7365 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1818, allocations: 0 / 0.7365 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004356/0.1822, allocations: 316.3 kB / 0.7368 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.184e-05/0.1822, allocations: 59.41 kB / 0.7368 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1822, allocations: 0 / 0.7368 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.1823, allocations: 4 kB / 0.7368 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.1824, allocations: 39.86 kB / 0.7369 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.1824, allocations: 4 kB / 0.7369 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.1825, allocations: 27.83 kB / 0.7369 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/0.1826, allocations: 12 kB / 0.7369 GB, free: 8.324 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.0001445/0.1827, allocations: 176.3 kB / 0.7371 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.287e-05/0.1827, allocations: 11.95 kB / 0.7371 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.645e-05/0.1828, allocations: 17.39 kB / 0.7371 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1828, allocations: 48 / 0.7371 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1828, allocations: 3.984 kB / 0.7371 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1828, allocations: 0 / 0.7371 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/0.183, allocations: 184.6 kB / 0.7373 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.183, allocations: 0 / 0.7373 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.606e-05/0.183, allocations: 8 kB / 0.7373 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.183, allocations: 0 / 0.7373 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.1831, allocations: 8 kB / 0.7373 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1831, allocations: 0 / 0.7373 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1831, allocations: 0 / 0.7373 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004524/0.1835, allocations: 282 kB / 0.7376 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.365e-05/0.1835, allocations: 11.94 kB / 0.7376 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.888e-05/0.1836, allocations: 4 kB / 0.7376 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.792e-05/0.1837, allocations: 11.98 kB / 0.7376 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.461e-05/0.1837, allocations: 11.98 kB / 0.7376 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.1837, allocations: 0 / 0.7376 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001179/0.1838, allocations: 136.4 kB / 0.7377 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1838, allocations: 4 kB / 0.7377 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002395/0.1841, allocations: 28 kB / 0.7378 GB, free: 7.344 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.0007/0.1848, allocations: 0.825 MB / 0.7386 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003706/0.1852, allocations: 295.7 kB / 0.7388 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1852, allocations: 0.6875 kB / 0.7388 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.1853, allocations: 121.1 kB / 0.739 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.1855, allocations: 17.73 kB / 0.739 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002459/0.188, allocations: 2.249 MB / 0.7412 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.629e-05/0.1881, allocations: 102.7 kB / 0.7413 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.928e-05/0.1881, allocations: 20.64 kB / 0.7413 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.875e-05/0.1882, allocations: 35.42 kB / 0.7413 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.1882, allocations: 0 / 0.7413 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02549/0.2137, allocations: 3.464 MB / 0.7447 GB, free: 76 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/11.97, allocations: 11.09 kB / 0.7447 GB, free: 68 kB / 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.95694728998933] Failed to read output from testmodel.py, exit status != 0: 12.138238421990536 12.156828787 11.976731437 Calling exit ...