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.001617/0.001617, allocations: 115.2 kB / 19.7 MB, free: 2.207 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.001946/0.001946, allocations: 223.3 kB / 23.01 MB, free: 5.074 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.512/1.512, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.016/1.016, allocations: 150 MB / 463.2 MB, free: 10.54 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.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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.003169/0.003169, allocations: 71.08 kB / 0.6412 GB, free: 10.46 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2128, allocations: 89.17 MB / 0.7283 GB, free: 1.355 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.007197/0.22, allocations: 3.837 MB / 0.7321 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002709/0.2203, allocations: 155.4 kB / 0.7322 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.59e-05/0.2204, allocations: 4 kB / 0.7322 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000125/0.2205, allocations: 0 / 0.7322 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.269e-05/0.2206, allocations: 11.91 kB / 0.7322 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004649/0.221, allocations: 95.67 kB / 0.7323 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.2211, allocations: 23.92 kB / 0.7323 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.668e-05/0.2212, allocations: 0 / 0.7323 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.077e-05/0.2213, allocations: 31.84 kB / 0.7324 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.173e-05/0.2213, allocations: 7.984 kB / 0.7324 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.2214, allocations: 4 kB / 0.7324 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007942/0.2222, allocations: 243.5 kB / 0.7326 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.941e-05/0.2222, allocations: 7.984 kB / 0.7326 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.329e-05/0.2222, allocations: 15.92 kB / 0.7326 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.2224, allocations: 55.88 kB / 0.7327 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2224, allocations: 0 / 0.7327 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2224, allocations: 0 / 0.7327 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.2224, allocations: 0 / 0.7327 GB, free: 12.85 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.0004569/0.2229, allocations: 266.2 kB / 0.733 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.2229, allocations: 12.03 kB / 0.733 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.651e-05/0.223, allocations: 34.69 kB / 0.733 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.505e-05/0.223, allocations: 8.875 kB / 0.733 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.2231, allocations: 118.5 kB / 0.7331 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.218e-05/0.2232, allocations: 51.97 kB / 0.7332 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.2232, allocations: 8.125 kB / 0.7332 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.2234, allocations: 37.69 kB / 0.7332 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.2234, allocations: 3.984 kB / 0.7332 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.2234, allocations: 0 / 0.7332 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/0.2234, allocations: 0 / 0.7332 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.99e-05/0.2235, allocations: 16 kB / 0.7332 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004421/0.2239, allocations: 235.9 kB / 0.7335 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.37e-05/0.2239, allocations: 14.58 kB / 0.7335 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.837e-05/0.224, allocations: 4.859 kB / 0.7335 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.733e-05/0.224, allocations: 16.05 kB / 0.7335 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.2241, allocations: 30.56 kB / 0.7335 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.2241, allocations: 4 kB / 0.7335 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001756/0.2242, allocations: 41.59 kB / 0.7336 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.2243, allocations: 51.41 kB / 0.7336 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.2244, allocations: 101.8 kB / 0.7337 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.2244, allocations: 25.7 kB / 0.7337 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.033e-05/0.2245, allocations: 88.09 kB / 0.7338 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.49e-06/0.2245, allocations: 0 / 0.7338 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.064e-05/0.2245, allocations: 21.7 kB / 0.7338 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.2247, allocations: 322.9 kB / 0.7341 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.896e-05/0.2247, allocations: 4 kB / 0.7342 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.984e-05/0.2248, allocations: 21.7 kB / 0.7342 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.145e-05/0.2248, allocations: 17.66 kB / 0.7342 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2248, allocations: 0 / 0.7342 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.404e-05/0.2249, allocations: 53.69 kB / 0.7342 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.2249, allocations: 4 kB / 0.7342 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.2249, allocations: 0 / 0.7342 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.2249, allocations: 0 / 0.7342 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.35e-05/0.225, allocations: 11.94 kB / 0.7343 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.225, allocations: 0 / 0.7343 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.204e-05/0.225, allocations: 7.891 kB / 0.7343 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.225, allocations: 4 kB / 0.7343 GB, free: 11.03 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 0.0001066/0.2251, allocations: 115.8 kB / 0.7344 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.125e-05/0.2252, allocations: 8.047 kB / 0.7344 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001418/0.2253, allocations: 113 kB / 0.7345 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001027/0.2254, allocations: 184.2 kB / 0.7347 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.742e-05/0.2255, allocations: 180.3 kB / 0.7348 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.474e-05/0.2256, allocations: 184.2 kB / 0.735 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003005/0.2259, allocations: 388.5 kB / 0.7354 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-05/0.226, allocations: 101 kB / 0.7355 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.925e-05/0.226, allocations: 108.9 kB / 0.7356 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.264e-05/0.2261, allocations: 180.3 kB / 0.7358 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.955e-05/0.2262, allocations: 180.2 kB / 0.7359 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.092e-05/0.2263, allocations: 176.3 kB / 0.7361 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-05/0.2264, allocations: 188.2 kB / 0.7363 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.2265, allocations: 307.7 kB / 0.7366 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.962e-05/0.2266, allocations: 112.9 kB / 0.7367 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.2267, allocations: 188.2 kB / 0.7369 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.2269, allocations: 109 kB / 0.737 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.518e-05/0.227, allocations: 180.2 kB / 0.7371 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.072e-05/0.227, allocations: 101 kB / 0.7372 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.895e-05/0.2271, allocations: 91.27 kB / 0.7373 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2271, allocations: 0 / 0.7373 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002621/0.2273, allocations: 19.88 kB / 0.7373 GB, free: 7.691 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.0005634/0.2279, allocations: 0.832 MB / 0.7381 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.825e-05/0.228, allocations: 8 kB / 0.7382 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.228, allocations: 0 / 0.7382 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.854e-06/0.228, allocations: 0 / 0.7382 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000553/0.2285, allocations: 468.5 kB / 0.7386 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.2298, allocations: 1.317 MB / 0.7399 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.2302, allocations: 0.669 MB / 0.7405 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.158e-05/0.2302, allocations: 19.31 kB / 0.7406 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.786e-05/0.2302, allocations: 11.44 kB / 0.7406 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of SimCode: time 3.9e-07/0.2302, allocations: 0 / 0.7406 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03051/0.2608, allocations: 1.589 MB / 0.7421 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.4, allocations: 6.922 kB / 0.7421 GB, free: 2.805 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.261987424921244] Failed to read output from testmodel.py, exit status != 0: 11.502645444124937 11.520133857 11.294328187 Calling exit ...