Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.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.001281/0.001281, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001494/0.001494, allocations: 214.9 kB / 22.99 MB, free: 4.605 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.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.9818/0.9818, allocations: 149.9 MB / 463 MB, free: 10.38 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.WaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",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.002142/0.002142, allocations: 70.27 kB / 0.6411 GB, free: 10.15 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2033, allocations: 89.17 MB / 0.7281 GB, free: 1.055 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006577/0.2099, allocations: 3.904 MB / 0.732 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002315/0.2101, allocations: 135.6 kB / 0.7321 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.563e-05/0.2102, allocations: 0 / 0.7321 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.2103, allocations: 0 / 0.7321 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.966e-05/0.2104, allocations: 19.86 kB / 0.7321 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003871/0.2107, allocations: 83.69 kB / 0.7322 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.489e-05/0.2108, allocations: 31.91 kB / 0.7322 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.345e-05/0.2109, allocations: 7.984 kB / 0.7322 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.449e-05/0.2109, allocations: 15.88 kB / 0.7322 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.306e-05/0.211, allocations: 19.97 kB / 0.7323 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.211, allocations: 0 / 0.7323 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002126/0.2112, allocations: 55.8 kB / 0.7323 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.608e-05/0.2113, allocations: 4 kB / 0.7323 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.129e-05/0.2113, allocations: 11.94 kB / 0.7323 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.2115, allocations: 60.14 kB / 0.7324 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.2115, allocations: 0 / 0.7324 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.674e-06/0.2115, allocations: 0 / 0.7324 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.2115, allocations: 0 / 0.7324 GB, free: 12.69 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.0004213/0.2119, allocations: 266.2 kB / 0.7326 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.212, allocations: 15.97 kB / 0.7326 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.711e-05/0.212, allocations: 30.75 kB / 0.7327 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/0.212, allocations: 4.938 kB / 0.7327 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.2122, allocations: 106.5 kB / 0.7328 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.153e-05/0.2122, allocations: 55.95 kB / 0.7328 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.2123, allocations: 8.125 kB / 0.7328 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.2124, allocations: 71.38 kB / 0.7329 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.2124, allocations: 0 / 0.7329 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.2125, allocations: 0 / 0.7329 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.858e-05/0.2125, allocations: 0 / 0.7329 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.913e-05/0.2125, allocations: 23.92 kB / 0.7329 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004761/0.213, allocations: 224 kB / 0.7331 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.685e-05/0.2131, allocations: 18.58 kB / 0.7332 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.038e-05/0.2131, allocations: 8.922 kB / 0.7332 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.059e-05/0.2131, allocations: 7.984 kB / 0.7332 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.2132, allocations: 30.56 kB / 0.7332 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.2132, allocations: 0 / 0.7332 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001562/0.2133, allocations: 45.59 kB / 0.7333 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/0.2134, allocations: 51.41 kB / 0.7333 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.86e-05/0.2135, allocations: 109.8 kB / 0.7334 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.2135, allocations: 25.7 kB / 0.7334 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.785e-05/0.2136, allocations: 88.22 kB / 0.7335 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.08e-06/0.2136, allocations: 0 / 0.7335 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.2136, allocations: 21.7 kB / 0.7335 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.2138, allocations: 318.8 kB / 0.7338 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.685e-05/0.2138, allocations: 4 kB / 0.7338 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.621e-05/0.2138, allocations: 17.72 kB / 0.7339 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.669e-05/0.2139, allocations: 29.58 kB / 0.7339 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2139, allocations: 0 / 0.7339 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001045/0.214, allocations: 57.67 kB / 0.7339 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.214, allocations: 4 kB / 0.7339 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.214, allocations: 0 / 0.7339 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.214, allocations: 0 / 0.7339 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.721e-05/0.2141, allocations: 11.88 kB / 0.734 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.2141, allocations: 4 kB / 0.734 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.957e-05/0.2141, allocations: 0 / 0.734 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.2141, allocations: 3.984 kB / 0.734 GB, free: 10.84 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.643e-05/0.2142, allocations: 113.8 kB / 0.7341 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.2142, allocations: 0 / 0.7341 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001384/0.2143, allocations: 125 kB / 0.7342 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.289e-05/0.2144, allocations: 188.2 kB / 0.7344 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.583e-05/0.2145, allocations: 176.3 kB / 0.7345 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.191e-05/0.2146, allocations: 184.2 kB / 0.7347 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003682/0.215, allocations: 376.2 kB / 0.7351 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.151e-05/0.215, allocations: 105 kB / 0.7352 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.397e-05/0.2151, allocations: 108.9 kB / 0.7353 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.037e-05/0.2152, allocations: 180.3 kB / 0.7355 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.021e-05/0.2153, allocations: 184.2 kB / 0.7356 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.376e-05/0.2153, allocations: 176.3 kB / 0.7358 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.951e-05/0.2154, allocations: 184.2 kB / 0.736 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/0.2156, allocations: 311.8 kB / 0.7363 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.533e-05/0.2157, allocations: 108.9 kB / 0.7364 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.2158, allocations: 180.3 kB / 0.7365 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000229/0.216, allocations: 105 kB / 0.7366 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.226e-05/0.2161, allocations: 188.5 kB / 0.7368 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7e-05/0.2162, allocations: 105 kB / 0.7369 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.674e-05/0.2162, allocations: 87.27 kB / 0.737 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2162, allocations: 0 / 0.737 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002857/0.2165, allocations: 23.88 kB / 0.737 GB, free: 7.504 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.0005472/0.2171, allocations: 0.8243 MB / 0.7378 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.575e-05/0.2171, allocations: 12 kB / 0.7378 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2171, allocations: 0 / 0.7378 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.09e-06/0.2172, allocations: 7.875 kB / 0.7379 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005145/0.2177, allocations: 455.7 kB / 0.7383 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.2189, allocations: 1.333 MB / 0.7396 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.677e-05/0.2189, allocations: 55.36 kB / 0.7396 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.327e-05/0.219, allocations: 12.11 kB / 0.7397 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.219, allocations: 11.44 kB / 0.7397 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of SimCode: time 3.7e-07/0.219, allocations: 0 / 0.7397 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03134/0.2504, allocations: 2.021 MB / 0.7416 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.73, allocations: 13.19 kB / 0.7417 GB, free: 2.777 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.492853489238769] Failed to read output from testmodel.py, exit status != 0: 11.84492374304682 11.87141917 11.655444766 Calling exit ...