Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.001398/0.001398, allocations: 109 kB / 20.48 MB, free: 1.473 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.001696/0.001696, allocations: 210.7 kB / 23.79 MB, free: 4.684 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.586/1.586, allocations: 230.6 MB / 257.6 MB, free: 7.988 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.056/1.056, allocations: 150 MB / 464 MB, free: 10.48 MB / 366.1 MB " [Timeout remaining time 178] 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.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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.002153/0.002153, allocations: 65.7 kB / 0.642 GB, free: 10.39 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.221, allocations: 89.17 MB / 0.7291 GB, free: 1.293 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.007198/0.2282, allocations: 3.821 MB / 0.7328 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002804/0.2285, allocations: 155.5 kB / 0.733 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.094e-05/0.2285, allocations: 4 kB / 0.733 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.2286, allocations: 3.984 kB / 0.733 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.079e-05/0.2287, allocations: 11.92 kB / 0.733 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004316/0.2291, allocations: 87.67 kB / 0.7331 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.2293, allocations: 35.91 kB / 0.7331 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.197e-05/0.2293, allocations: 0 / 0.7331 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.652e-05/0.2293, allocations: 19.86 kB / 0.7331 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.386e-05/0.2294, allocations: 23.97 kB / 0.7331 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.2294, allocations: 0 / 0.7331 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006917/0.2301, allocations: 235.5 kB / 0.7334 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.57e-05/0.2302, allocations: 7.984 kB / 0.7334 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.552e-05/0.2302, allocations: 7.938 kB / 0.7334 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.2304, allocations: 67.84 kB / 0.7335 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.2304, allocations: 4 kB / 0.7335 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2304, allocations: 0 / 0.7335 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.2304, allocations: 3.938 kB / 0.7335 GB, free: 12.79 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004139/0.2308, allocations: 260.7 kB / 0.7337 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.2308, allocations: 15.95 kB / 0.7337 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.803e-05/0.2309, allocations: 8.188 kB / 0.7337 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.245e-05/0.2309, allocations: 34.69 kB / 0.7338 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.425e-05/0.2309, allocations: 0.9375 kB / 0.7338 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.231, allocations: 110.5 kB / 0.7339 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.992e-05/0.2311, allocations: 55.95 kB / 0.7339 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.2311, allocations: 3.938 kB / 0.7339 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.2313, allocations: 49.69 kB / 0.734 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.2313, allocations: 0 / 0.734 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.2313, allocations: 0 / 0.734 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/0.2313, allocations: 0 / 0.734 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.649e-05/0.2314, allocations: 15.98 kB / 0.734 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004577/0.2318, allocations: 235.9 kB / 0.7342 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.176e-05/0.2319, allocations: 18.58 kB / 0.7342 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.168e-05/0.2319, allocations: 8.859 kB / 0.7342 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.789e-05/0.2319, allocations: 16.03 kB / 0.7343 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.232, allocations: 30.56 kB / 0.7343 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.232, allocations: 0 / 0.7343 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001631/0.2321, allocations: 41.59 kB / 0.7343 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.2322, allocations: 55.41 kB / 0.7344 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.814e-05/0.2323, allocations: 102 kB / 0.7345 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.2323, allocations: 25.7 kB / 0.7345 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.334e-05/0.2324, allocations: 92.09 kB / 0.7346 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.049e-06/0.2324, allocations: 0 / 0.7346 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.2324, allocations: 13.72 kB / 0.7346 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.2326, allocations: 326.8 kB / 0.7349 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.691e-05/0.2326, allocations: 4 kB / 0.7349 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.725e-05/0.2326, allocations: 13.72 kB / 0.7349 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.019e-05/0.2326, allocations: 29.64 kB / 0.735 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2326, allocations: 0 / 0.735 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.802e-05/0.2327, allocations: 45.7 kB / 0.735 GB, free: 11 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.2327, allocations: 4 kB / 0.735 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.2327, allocations: 7.922 kB / 0.735 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.2328, allocations: 0 / 0.735 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.371e-05/0.2328, allocations: 7.938 kB / 0.735 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.2328, allocations: 8.062 kB / 0.735 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.279e-05/0.2328, allocations: 3.953 kB / 0.735 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.2329, allocations: 3.938 kB / 0.735 GB, free: 10.96 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 8.989e-05/0.2329, allocations: 109.8 kB / 0.7351 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.233, allocations: 0 / 0.7351 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/0.2331, allocations: 121 kB / 0.7353 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001068/0.2332, allocations: 180.2 kB / 0.7354 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.908e-05/0.2333, allocations: 188.2 kB / 0.7356 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.382e-05/0.2334, allocations: 180.2 kB / 0.7358 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.2336, allocations: 380.2 kB / 0.7361 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.034e-05/0.2337, allocations: 105 kB / 0.7362 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.824e-05/0.2337, allocations: 104.9 kB / 0.7363 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.058e-05/0.2338, allocations: 180.3 kB / 0.7365 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.82e-05/0.2339, allocations: 188.2 kB / 0.7367 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.773e-05/0.234, allocations: 176.3 kB / 0.7369 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.036e-05/0.2341, allocations: 176.3 kB / 0.737 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.2342, allocations: 316 kB / 0.7373 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.555e-05/0.2343, allocations: 112.9 kB / 0.7374 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.234e-05/0.2344, allocations: 180.3 kB / 0.7376 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.2345, allocations: 113 kB / 0.7377 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.737e-05/0.2346, allocations: 180.2 kB / 0.7379 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.044e-05/0.2347, allocations: 105 kB / 0.738 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.748e-05/0.2347, allocations: 95.2 kB / 0.7381 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2347, allocations: 4 kB / 0.7381 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002553/0.235, allocations: 15.94 kB / 0.7381 GB, free: 7.629 MB / 0.5606 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 (0): * Single equations (assignments): 0 * 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.0006036/0.2356, allocations: 0.8281 MB / 0.7389 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.79e-05/0.2357, allocations: 12 kB / 0.7389 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2357, allocations: 0 / 0.7389 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.58e-06/0.2357, allocations: 3.938 kB / 0.7389 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005427/0.2362, allocations: 466.2 kB / 0.7394 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.2375, allocations: 1.321 MB / 0.7407 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.2378, allocations: 0.6729 MB / 0.7413 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.126e-05/0.2378, allocations: 11.11 kB / 0.7413 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.998e-05/0.2379, allocations: 11.44 kB / 0.7413 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.2379, allocations: 0 / 0.7413 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02685/0.2647, allocations: 1.621 MB / 0.7429 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.66, allocations: 2.812 kB / 0.7429 GB, free: 2.734 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.764743603998795] Failed to read output from testmodel.py, exit status != 0: 11.826734265021514 11.845322711 11.611276776 Calling exit ...