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.00148/0.00148, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001473/0.001473, allocations: 212.9 kB / 23.78 MB, free: 4.527 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.485/1.485, allocations: 230.6 MB / 257.6 MB, free: 7.777 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.004/1.004, allocations: 150 MB / 464 MB, free: 10.2 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="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.002078/0.002078, allocations: 66.64 kB / 0.6419 GB, free: 9.941 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1918, allocations: 89.18 MB / 0.729 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006943/0.1988, allocations: 3.616 MB / 0.7326 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000253/0.199, allocations: 135.6 kB / 0.7327 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.9e-05/0.1991, allocations: 4 kB / 0.7327 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001218/0.1992, allocations: 7.938 kB / 0.7327 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.1993, allocations: 7.922 kB / 0.7327 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004696/0.1998, allocations: 90.98 kB / 0.7328 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000111/0.1999, allocations: 35.84 kB / 0.7328 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.178e-05/0.1999, allocations: 0 / 0.7328 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.937e-05/0.2, allocations: 19.92 kB / 0.7328 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.314e-05/0.2001, allocations: 19.97 kB / 0.7329 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.2001, allocations: 0 / 0.7329 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000717/0.2008, allocations: 215.5 kB / 0.7331 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.483e-05/0.2008, allocations: 0 / 0.7331 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.01e-05/0.2009, allocations: 11.94 kB / 0.7331 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.201, allocations: 63.78 kB / 0.7331 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.2011, allocations: 0 / 0.7331 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2011, allocations: 4 kB / 0.7331 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.2011, allocations: 0 / 0.7331 GB, free: 12.59 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.0004204/0.2015, allocations: 262.3 kB / 0.7334 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.2015, allocations: 11.97 kB / 0.7334 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.125e-05/0.2015, allocations: 8.125 kB / 0.7334 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.473e-05/0.2016, allocations: 34.75 kB / 0.7334 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.643e-05/0.2016, allocations: 0.9375 kB / 0.7334 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.2017, allocations: 114.5 kB / 0.7336 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.285e-05/0.2018, allocations: 51.97 kB / 0.7336 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.2018, allocations: 3.938 kB / 0.7336 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.202, allocations: 75.33 kB / 0.7337 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.202, allocations: 0 / 0.7337 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.202, allocations: 4 kB / 0.7337 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.04e-05/0.2021, allocations: 0 / 0.7337 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.27e-05/0.2021, allocations: 15.98 kB / 0.7337 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004547/0.2026, allocations: 224 kB / 0.7339 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.969e-05/0.2026, allocations: 22.56 kB / 0.7339 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.835e-05/0.2026, allocations: 8.922 kB / 0.7339 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.184e-05/0.2027, allocations: 11.92 kB / 0.734 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.2027, allocations: 30.56 kB / 0.734 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.2027, allocations: 0 / 0.734 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001531/0.2029, allocations: 41.66 kB / 0.734 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.2029, allocations: 51.41 kB / 0.7341 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.203, allocations: 105.8 kB / 0.7342 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.2031, allocations: 25.7 kB / 0.7342 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.443e-05/0.2031, allocations: 88.09 kB / 0.7343 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.22e-06/0.2031, allocations: 0 / 0.7343 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/0.2032, allocations: 17.7 kB / 0.7343 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.2033, allocations: 326.8 kB / 0.7346 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.448e-05/0.2033, allocations: 0 / 0.7346 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.749e-05/0.2034, allocations: 21.64 kB / 0.7346 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.149e-05/0.2034, allocations: 25.84 kB / 0.7347 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2034, allocations: 0 / 0.7347 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.611e-05/0.2035, allocations: 53.62 kB / 0.7347 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.2035, allocations: 8 kB / 0.7347 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2035, allocations: 0 / 0.7347 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.2035, allocations: 0 / 0.7347 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.773e-05/0.2036, allocations: 4 kB / 0.7347 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.2036, allocations: 4 kB / 0.7347 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.245e-05/0.2036, allocations: 7.891 kB / 0.7347 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.2036, allocations: 8 kB / 0.7347 GB, free: 10.74 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 9.584e-05/0.2037, allocations: 113.8 kB / 0.7348 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.2037, allocations: 0 / 0.7348 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001319/0.2039, allocations: 120.9 kB / 0.735 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.242e-05/0.204, allocations: 176.3 kB / 0.7351 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-05/0.2041, allocations: 188.2 kB / 0.7353 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.877e-05/0.2041, allocations: 180.2 kB / 0.7355 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002926/0.2044, allocations: 376.2 kB / 0.7358 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-05/0.2045, allocations: 108.9 kB / 0.7359 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.003e-05/0.2045, allocations: 109 kB / 0.7361 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.271e-05/0.2046, allocations: 180.2 kB / 0.7362 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.554e-05/0.2047, allocations: 176.3 kB / 0.7364 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.607e-05/0.2048, allocations: 184.3 kB / 0.7366 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.267e-05/0.2049, allocations: 180.2 kB / 0.7367 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000199/0.2051, allocations: 311.7 kB / 0.737 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.479e-05/0.2052, allocations: 109 kB / 0.7371 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.2053, allocations: 184.3 kB / 0.7373 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.2055, allocations: 108.9 kB / 0.7374 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.2056, allocations: 180.3 kB / 0.7376 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.915e-05/0.2056, allocations: 104.9 kB / 0.7377 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.721e-05/0.2057, allocations: 95.2 kB / 0.7378 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2057, allocations: 0 / 0.7378 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000276/0.206, allocations: 15.94 kB / 0.7378 GB, free: 7.414 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.00059/0.2066, allocations: 0.8321 MB / 0.7386 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.964e-05/0.2066, allocations: 11.94 kB / 0.7386 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2066, allocations: 0 / 0.7386 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.114e-06/0.2066, allocations: 0 / 0.7386 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005671/0.2072, allocations: 463 kB / 0.7391 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.2085, allocations: 1.325 MB / 0.7404 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.957e-05/0.2086, allocations: 55.36 kB / 0.7404 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.035e-05/0.2086, allocations: 15.86 kB / 0.7404 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.272e-05/0.2087, allocations: 7.859 kB / 0.7404 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of SimCode: time 3.51e-07/0.2087, allocations: 0 / 0.7404 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02361/0.2323, allocations: 1.695 MB / 0.7421 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.8, allocations: 10.81 kB / 0.7421 GB, free: 3.055 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.693019039928913] Failed to read output from testmodel.py, exit status != 0: 11.963658864959143 11.987407996 11.781810352 Calling exit ...