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.001296/0.001296, allocations: 119 kB / 19.69 MB, free: 2.199 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.001469/0.001469, allocations: 224.5 kB / 23.01 MB, free: 5.047 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.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 7.965 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.9884/0.9884, allocations: 150 MB / 463.2 MB, free: 10.47 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.003034/0.003034, allocations: 70.92 kB / 0.6412 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2173, allocations: 89.17 MB / 0.7283 GB, free: 1.273 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006757/0.224, allocations: 4.135 MB / 0.7324 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002566/0.2243, allocations: 159.5 kB / 0.7325 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.22e-05/0.2243, allocations: 0 / 0.7325 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000116/0.2244, allocations: 7.938 kB / 0.7325 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.832e-05/0.2245, allocations: 11.97 kB / 0.7325 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004036/0.2249, allocations: 83.69 kB / 0.7326 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.225, allocations: 27.92 kB / 0.7326 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.3e-05/0.2251, allocations: 15.91 kB / 0.7327 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.093e-05/0.2251, allocations: 8 kB / 0.7327 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.053e-05/0.2252, allocations: 19.91 kB / 0.7327 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.2252, allocations: 4 kB / 0.7327 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002261/0.2254, allocations: 75.78 kB / 0.7328 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.496e-05/0.2255, allocations: 7.984 kB / 0.7328 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.476e-05/0.2255, allocations: 4 kB / 0.7328 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.2257, allocations: 72.06 kB / 0.7328 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.2257, allocations: 4 kB / 0.7328 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2257, allocations: 3.938 kB / 0.7329 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.2257, allocations: 0 / 0.7329 GB, free: 12.61 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.0004116/0.2261, allocations: 262.3 kB / 0.7331 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.2261, allocations: 12.03 kB / 0.7331 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.498e-05/0.2262, allocations: 34.75 kB / 0.7331 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.425e-05/0.2262, allocations: 8.875 kB / 0.7332 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.2263, allocations: 102.5 kB / 0.7333 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.412e-05/0.2264, allocations: 55.97 kB / 0.7333 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.2264, allocations: 8.125 kB / 0.7333 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.2265, allocations: 37.69 kB / 0.7334 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.2265, allocations: 0 / 0.7334 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.2266, allocations: 4 kB / 0.7334 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/0.2266, allocations: 4 kB / 0.7334 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.124e-05/0.2266, allocations: 19.92 kB / 0.7334 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004647/0.2271, allocations: 228 kB / 0.7336 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.616e-05/0.2271, allocations: 22.52 kB / 0.7336 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.575e-05/0.2272, allocations: 4.859 kB / 0.7336 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.899e-05/0.2272, allocations: 8.047 kB / 0.7336 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.2272, allocations: 34.56 kB / 0.7337 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.2272, allocations: 4 kB / 0.7337 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001651/0.2274, allocations: 41.59 kB / 0.7337 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.2275, allocations: 51.41 kB / 0.7338 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.785e-05/0.2276, allocations: 109.8 kB / 0.7339 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.2276, allocations: 25.7 kB / 0.7339 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.71e-05/0.2276, allocations: 84.09 kB / 0.734 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.919e-06/0.2276, allocations: 4.125 kB / 0.734 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.605e-05/0.2277, allocations: 17.72 kB / 0.734 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.2278, allocations: 322.8 kB / 0.7343 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.358e-05/0.2278, allocations: 0 / 0.7343 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.433e-05/0.2279, allocations: 13.72 kB / 0.7343 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.525e-05/0.2279, allocations: 29.64 kB / 0.7343 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2279, allocations: 4 kB / 0.7343 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.389e-05/0.228, allocations: 45.64 kB / 0.7344 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.228, allocations: 4 kB / 0.7344 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.228, allocations: 7.984 kB / 0.7344 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.228, allocations: 0 / 0.7344 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.948e-05/0.2281, allocations: 4 kB / 0.7344 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.2281, allocations: 0 / 0.7344 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.283e-05/0.2281, allocations: 7.953 kB / 0.7344 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.2281, allocations: 0 / 0.7344 GB, free: 10.81 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.076e-05/0.2282, allocations: 117.8 kB / 0.7345 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.2282, allocations: 4 kB / 0.7345 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001361/0.2284, allocations: 124.9 kB / 0.7346 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-05/0.2285, allocations: 180.5 kB / 0.7348 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.184e-05/0.2286, allocations: 176.3 kB / 0.735 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-05/0.2286, allocations: 188.2 kB / 0.7352 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003091/0.229, allocations: 380.2 kB / 0.7355 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.372e-05/0.229, allocations: 112.9 kB / 0.7356 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.42e-05/0.2291, allocations: 109 kB / 0.7357 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-05/0.2291, allocations: 176.3 kB / 0.7359 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.891e-05/0.2292, allocations: 180.2 kB / 0.7361 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.612e-05/0.2293, allocations: 184.2 kB / 0.7362 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001008/0.2294, allocations: 188.2 kB / 0.7364 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001839/0.2296, allocations: 307.8 kB / 0.7367 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.458e-05/0.2297, allocations: 104.9 kB / 0.7368 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.2298, allocations: 184.3 kB / 0.737 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.23, allocations: 108.9 kB / 0.7371 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.2301, allocations: 184.3 kB / 0.7373 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-05/0.2301, allocations: 105 kB / 0.7374 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.678e-05/0.2302, allocations: 83.27 kB / 0.7375 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2302, allocations: 0 / 0.7375 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002657/0.2305, allocations: 23.81 kB / 0.7375 GB, free: 7.465 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.0006274/0.2311, allocations: 0.8282 MB / 0.7383 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.704e-05/0.2312, allocations: 15.94 kB / 0.7383 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.2312, allocations: 0 / 0.7383 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.804e-06/0.2312, allocations: 128 / 0.7383 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000562/0.2318, allocations: 459.7 kB / 0.7387 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.233, allocations: 1.321 MB / 0.74 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.2333, allocations: 0.669 MB / 0.7407 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.538e-05/0.2334, allocations: 17.62 kB / 0.7407 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.783e-05/0.2334, allocations: 7.438 kB / 0.7407 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of SimCode: time 3.81e-07/0.2334, allocations: 0 / 0.7407 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02765/0.261, allocations: 1.593 MB / 0.7423 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.47, allocations: 10.44 kB / 0.7423 GB, free: 2.551 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.229027532972395] Failed to read output from testmodel.py, exit status != 0: 11.577428840799257 11.599339348 11.369093008 Calling exit ...