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.001341/0.001341, allocations: 120.1 kB / 17.84 MB, free: 5.234 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.001364/0.001364, allocations: 203.9 kB / 20.79 MB, free: 2.297 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.61/1.61, allocations: 230.6 MB / 254.2 MB, free: 15.09 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.036/1.036, allocations: 150 MB / 460.2 MB, free: 5.293 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.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.00197/0.00197, allocations: 69.17 kB / 0.6368 GB, free: 30.59 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.2052, allocations: 89.13 MB / 0.7238 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005628/0.2108, allocations: 3.802 MB / 0.7275 GB, free: 260 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000203/0.211, allocations: 155.5 kB / 0.7277 GB, free: 104 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.396e-05/0.211, allocations: 0 / 0.7277 GB, free: 104 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.96e-05/0.2111, allocations: 3.938 kB / 0.7277 GB, free: 100 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.902e-05/0.2112, allocations: 11.92 kB / 0.7277 GB, free: 88 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003401/0.2115, allocations: 91.25 kB / 0.7278 GB, free: 0 / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000112/0.2116, allocations: 31.95 kB / 0.7278 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.281e-05/0.2117, allocations: 3.828 kB / 0.7278 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.999e-05/0.2117, allocations: 19.98 kB / 0.7278 GB, free: 15.95 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.975e-05/0.2118, allocations: 11.97 kB / 0.7278 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.2118, allocations: 4 kB / 0.7278 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005239/0.2123, allocations: 199.7 kB / 0.728 GB, free: 15.73 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.484e-05/0.2124, allocations: 15.91 kB / 0.7281 GB, free: 15.72 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.425e-05/0.2124, allocations: 12 kB / 0.7281 GB, free: 15.71 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.2125, allocations: 67.73 kB / 0.7281 GB, free: 15.64 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2126, allocations: 0 / 0.7281 GB, free: 15.64 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2126, allocations: 0 / 0.7281 GB, free: 15.64 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.2126, allocations: 0 / 0.7281 GB, free: 15.64 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004301/0.213, allocations: 335.4 kB / 0.7284 GB, free: 15.27 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.213, allocations: 12.03 kB / 0.7285 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.545e-05/0.213, allocations: 192 / 0.7285 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.986e-05/0.2131, allocations: 30.75 kB / 0.7285 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.265e-05/0.2131, allocations: 8.938 kB / 0.7285 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.2132, allocations: 172.3 kB / 0.7287 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.731e-05/0.2133, allocations: 30.27 kB / 0.7287 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.2133, allocations: 7.938 kB / 0.7287 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.2134, allocations: 49.61 kB / 0.7287 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.2135, allocations: 0 / 0.7287 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.2135, allocations: 3.938 kB / 0.7288 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.2135, allocations: 0 / 0.7288 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.873e-05/0.2135, allocations: 23.98 kB / 0.7288 GB, free: 14.88 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000461/0.214, allocations: 330 kB / 0.7291 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.207e-05/0.214, allocations: 18.58 kB / 0.7291 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.676e-05/0.214, allocations: 8.797 kB / 0.7291 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.367e-05/0.2141, allocations: 85.16 kB / 0.7292 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.2142, allocations: 38.56 kB / 0.7292 GB, free: 14.3 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.2142, allocations: 0 / 0.7292 GB, free: 14.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001502/0.2143, allocations: 37.66 kB / 0.7293 GB, free: 14.25 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.2144, allocations: 51.41 kB / 0.7293 GB, free: 14.19 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.176e-05/0.2145, allocations: 105.8 kB / 0.7294 GB, free: 14.08 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.2145, allocations: 25.7 kB / 0.7294 GB, free: 14.05 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.975e-05/0.2145, allocations: 84.09 kB / 0.7295 GB, free: 13.96 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.792e-06/0.2145, allocations: 4 kB / 0.7295 GB, free: 13.96 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.291e-05/0.2146, allocations: 21.83 kB / 0.7295 GB, free: 13.93 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.2147, allocations: 322.7 kB / 0.7299 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.659e-05/0.2147, allocations: 3.938 kB / 0.7299 GB, free: 13.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.002e-05/0.2148, allocations: 13.72 kB / 0.7299 GB, free: 13.58 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.826e-05/0.2148, allocations: 25.7 kB / 0.7299 GB, free: 13.55 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2148, allocations: 0 / 0.7299 GB, free: 13.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.526e-05/0.2149, allocations: 53.59 kB / 0.7299 GB, free: 13.49 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.2149, allocations: 11.98 kB / 0.73 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.2149, allocations: 0 / 0.73 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.2149, allocations: 0 / 0.73 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.224e-05/0.215, allocations: 4 kB / 0.73 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.215, allocations: 0 / 0.73 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.705e-05/0.215, allocations: 4 kB / 0.73 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.215, allocations: 3.938 kB / 0.73 GB, free: 13.47 MB / 0.545 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.057e-05/0.2151, allocations: 109.8 kB / 0.7301 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.766e-05/0.2151, allocations: 8.062 kB / 0.7301 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.2152, allocations: 124.9 kB / 0.7302 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.974e-05/0.2153, allocations: 176.3 kB / 0.7304 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-05/0.2154, allocations: 180.2 kB / 0.7305 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.565e-05/0.2155, allocations: 188.2 kB / 0.7307 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000282/0.2158, allocations: 405.2 kB / 0.7311 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.586e-05/0.2158, allocations: 108.9 kB / 0.7312 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.256e-05/0.2159, allocations: 101 kB / 0.7313 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.977e-05/0.2159, allocations: 184.2 kB / 0.7315 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.144e-05/0.216, allocations: 176.3 kB / 0.7317 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-05/0.2161, allocations: 184.2 kB / 0.7318 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.565e-05/0.2162, allocations: 184.2 kB / 0.732 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001782/0.2164, allocations: 311.6 kB / 0.7323 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.685e-05/0.2165, allocations: 178.1 kB / 0.7325 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.2166, allocations: 196.1 kB / 0.7327 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.2167, allocations: 109 kB / 0.7328 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.335e-05/0.2168, allocations: 184.5 kB / 0.7329 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.281e-05/0.2169, allocations: 108.9 kB / 0.733 GB, free: 10.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.283e-05/0.217, allocations: 87.2 kB / 0.7331 GB, free: 10.02 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.217, allocations: 0 / 0.7331 GB, free: 10.02 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002453/0.2172, allocations: 12 kB / 0.7331 GB, free: 10 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 (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.0005455/0.2177, allocations: 0.8282 MB / 0.7339 GB, free: 9.148 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.039e-05/0.2178, allocations: 15.94 kB / 0.734 GB, free: 9.133 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2178, allocations: 0 / 0.734 GB, free: 9.133 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.253e-06/0.2178, allocations: 0 / 0.734 GB, free: 9.133 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000507/0.2183, allocations: 459.8 kB / 0.7344 GB, free: 8.68 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.2195, allocations: 1.328 MB / 0.7357 GB, free: 7.266 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.2198, allocations: 0.6767 MB / 0.7364 GB, free: 6.562 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.188e-05/0.2199, allocations: 11.98 kB / 0.7364 GB, free: 6.551 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.383e-05/0.2199, allocations: 7.438 kB / 0.7364 GB, free: 6.543 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/0.2199, allocations: 0 / 0.7364 GB, free: 6.543 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01764/0.2375, allocations: 1.541 MB / 0.7379 GB, free: 5.184 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.325/8.563, allocations: 23.69 kB / 0.7379 GB, free: 5.16 MB / 0.545 GB " [Timeout remaining time 651] (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: 12.82494736398803] Failed to read output from testmodel.py, exit status != 0: 8.68990458699409 8.70518731 8.489679645 Calling exit ...