Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.001416/0.001416, allocations: 118.9 kB / 17.84 MB, free: 5.254 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.001513/0.001513, allocations: 201.6 kB / 20.79 MB, free: 2.316 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.404/1.404, allocations: 230.6 MB / 254.2 MB, free: 15.08 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.9489/0.9489, allocations: 150 MB / 460.2 MB, free: 5.297 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: "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",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.001908/0.001908, allocations: 66.72 kB / 0.6368 GB, free: 30.47 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1506, allocations: 89.14 MB / 0.7238 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.0033/0.1539, allocations: 1.897 MB / 0.7257 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004754/0.1586, allocations: 3.721 MB / 0.7293 GB, free: 14.41 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001368/0.1588, allocations: 7.875 kB / 0.7293 GB, free: 14.41 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000792/0.1596, allocations: 187.4 kB / 0.7295 GB, free: 14.22 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002216/0.1598, allocations: 87.45 kB / 0.7296 GB, free: 14.14 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001317/0.1599, allocations: 51.92 kB / 0.7296 GB, free: 14.09 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005069/0.1604, allocations: 271.1 kB / 0.7299 GB, free: 13.82 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.931e-05/0.1605, allocations: 25.53 kB / 0.7299 GB, free: 13.79 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.1606, allocations: 83.64 kB / 0.73 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.1608, allocations: 79.67 kB / 0.7301 GB, free: 13.63 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.1608, allocations: 8 kB / 0.7301 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.1609, allocations: 35.92 kB / 0.7301 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.516e-05/0.161, allocations: 63.73 kB / 0.7302 GB, free: 13.53 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.097e-05/0.1611, allocations: 83.48 kB / 0.7303 GB, free: 13.45 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002915/0.1614, allocations: 198.9 kB / 0.7305 GB, free: 13.25 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.1614, allocations: 0 / 0.7305 GB, free: 13.25 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.056e-06/0.1614, allocations: 4 kB / 0.7305 GB, free: 13.25 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.1614, allocations: 0 / 0.7305 GB, free: 13.25 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009608/0.1624, allocations: 0.5487 MB / 0.731 GB, free: 12.65 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.1624, allocations: 12.03 kB / 0.731 GB, free: 12.64 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.331e-05/0.1624, allocations: 192 / 0.731 GB, free: 12.64 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.487e-05/0.1625, allocations: 38.75 kB / 0.731 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009022/0.1634, allocations: 120.6 kB / 0.7312 GB, free: 12.47 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005538/0.1639, allocations: 275.5 kB / 0.7314 GB, free: 12.17 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.1639, allocations: 7.984 kB / 0.7314 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.164, allocations: 4 kB / 0.7314 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000414/0.1644, allocations: 157.5 kB / 0.7316 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.1644, allocations: 0 / 0.7316 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.1644, allocations: 0 / 0.7316 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.827e-05/0.1644, allocations: 15.98 kB / 0.7316 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000479/0.1649, allocations: 159.7 kB / 0.7318 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008142/0.1657, allocations: 480.5 kB / 0.7322 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004642/0.1662, allocations: 174.5 kB / 0.7324 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002902/0.1665, allocations: 108.8 kB / 0.7325 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.1665, allocations: 0 / 0.7325 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/0.1665, allocations: 38.56 kB / 0.7325 GB, free: 10.97 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 9.82e-07/0.1665, allocations: 0 / 0.7325 GB, free: 10.97 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0009688/0.1675, allocations: 336 kB / 0.7328 GB, free: 10.64 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.1676, allocations: 55.34 kB / 0.7329 GB, free: 10.57 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002677/0.1678, allocations: 251 kB / 0.7331 GB, free: 10.31 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.1679, allocations: 29.7 kB / 0.7332 GB, free: 10.28 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.168, allocations: 140.1 kB / 0.7333 GB, free: 10.14 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.377e-05/0.168, allocations: 47.62 kB / 0.7333 GB, free: 10.09 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.236e-05/0.1681, allocations: 37.64 kB / 0.7334 GB, free: 10.05 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.1683, allocations: 334.8 kB / 0.7337 GB, free: 9.711 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002625/0.1685, allocations: 83.92 kB / 0.7338 GB, free: 9.629 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000242/0.1688, allocations: 83.94 kB / 0.7339 GB, free: 9.547 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005185/0.1693, allocations: 179.1 kB / 0.734 GB, free: 9.371 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1693, allocations: 0 / 0.734 GB, free: 9.371 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006254/0.1699, allocations: 245.3 kB / 0.7343 GB, free: 9.125 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.1699, allocations: 4 kB / 0.7343 GB, free: 9.121 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.1699, allocations: 0 / 0.7343 GB, free: 9.121 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.1699, allocations: 0 / 0.7343 GB, free: 9.121 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003077/0.1702, allocations: 43.89 kB / 0.7343 GB, free: 9.078 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.1703, allocations: 3.984 kB / 0.7343 GB, free: 9.074 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/0.1705, allocations: 19.92 kB / 0.7343 GB, free: 9.055 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.1705, allocations: 4 kB / 0.7343 GB, free: 9.051 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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.0001501/0.1706, allocations: 141.8 kB / 0.7345 GB, free: 8.902 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.959e-05/0.1707, allocations: 27.81 kB / 0.7345 GB, free: 8.875 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.963e-05/0.1708, allocations: 33.86 kB / 0.7345 GB, free: 8.844 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.1708, allocations: 7.875 kB / 0.7345 GB, free: 8.836 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1708, allocations: 0 / 0.7345 GB, free: 8.836 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1708, allocations: 0 / 0.7345 GB, free: 8.836 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003485/0.1711, allocations: 277.5 kB / 0.7348 GB, free: 8.516 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1711, allocations: 4 kB / 0.7348 GB, free: 8.512 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002654/0.1714, allocations: 35.95 kB / 0.7348 GB, free: 8.477 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.1714, allocations: 0 / 0.7348 GB, free: 8.477 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.1714, allocations: 4 kB / 0.7348 GB, free: 8.473 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.1714, allocations: 3.938 kB / 0.7348 GB, free: 8.469 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1714, allocations: 0 / 0.7348 GB, free: 8.469 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000666/0.1721, allocations: 339.2 kB / 0.7352 GB, free: 8.121 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.1722, allocations: 124.8 kB / 0.7353 GB, free: 7.98 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.295e-05/0.1722, allocations: 0 / 0.7353 GB, free: 7.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/0.1725, allocations: 19.92 kB / 0.7353 GB, free: 7.961 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.307e-05/0.1725, allocations: 7.984 kB / 0.7353 GB, free: 7.953 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.1725, allocations: 11.98 kB / 0.7353 GB, free: 7.941 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001735/0.1727, allocations: 182 kB / 0.7355 GB, free: 7.77 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1727, allocations: 0 / 0.7355 GB, free: 7.77 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000271/0.173, allocations: 40 kB / 0.7355 GB, free: 7.73 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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.001015/0.174, allocations: 0.867 MB / 0.7364 GB, free: 6.836 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005811/0.1746, allocations: 183.8 kB / 0.7366 GB, free: 6.656 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.1746, allocations: 4 kB / 0.7366 GB, free: 6.652 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002779/0.1749, allocations: 99.86 kB / 0.7367 GB, free: 6.555 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004376/0.1753, allocations: 60.7 kB / 0.7367 GB, free: 6.488 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003719/0.179, allocations: 2.484 MB / 0.7391 GB, free: 3.934 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/0.1794, allocations: 0.7513 MB / 0.7399 GB, free: 3.156 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002196/0.1797, allocations: 61.38 kB / 0.7399 GB, free: 3.094 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.1798, allocations: 63.52 kB / 0.74 GB, free: 3.031 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.1798, allocations: 7.938 kB / 0.74 GB, free: 3.023 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02333/0.2031, allocations: 5.133 MB / 0.745 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.195/8.398, allocations: 7.062 kB / 0.745 GB, free: 14.09 MB / 0.5606 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.075485629960895] Failed to read output from testmodel.py, exit status != 0: 8.519926244975068 8.535664799 8.371222864 Calling exit ...