Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterProperties.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.00146/0.00146, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001576/0.001576, allocations: 210.6 kB / 23.77 MB, free: 4.559 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.493/1.493, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.045/1.045, allocations: 150 MB / 464 MB, free: 10.21 MB / 366.1 MB " [Timeout remaining time 178] 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.WaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.WaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterProperties",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.003288/0.003288, allocations: 72.3 kB / 0.642 GB, free: 9.914 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.208, allocations: 89.17 MB / 0.7291 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterProperties): time 0.007565/0.2156, allocations: 4.502 MB / 0.7335 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003102/0.2187, allocations: 2.45 MB / 0.7359 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.2188, allocations: 0 / 0.7359 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003041/0.2191, allocations: 43.69 kB / 0.7359 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000318/0.2195, allocations: 99.36 kB / 0.736 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001327/0.2208, allocations: 0.5272 MB / 0.7365 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002867/0.2211, allocations: 235.9 kB / 0.7367 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.772e-05/0.2211, allocations: 5.75 kB / 0.7367 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002212/0.2213, allocations: 127.5 kB / 0.7369 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.2215, allocations: 91.64 kB / 0.7369 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.606e-05/0.2215, allocations: 8 kB / 0.737 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006567/0.2222, allocations: 327.4 kB / 0.7373 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.094e-05/0.2223, allocations: 35.89 kB / 0.7373 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.253e-05/0.2224, allocations: 71.72 kB / 0.7374 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006718/0.223, allocations: 359.1 kB / 0.7377 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.223, allocations: 0 / 0.7377 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.473e-06/0.223, allocations: 0 / 0.7377 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.223, allocations: 3.938 kB / 0.7377 GB, free: 7.922 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008013/0.2238, allocations: 445.4 kB / 0.7381 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.2239, allocations: 8.031 kB / 0.7381 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.84e-05/0.2239, allocations: 4.516 kB / 0.7382 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.785e-05/0.224, allocations: 58.72 kB / 0.7382 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.2241, allocations: 20.84 kB / 0.7382 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000309/0.2244, allocations: 162.2 kB / 0.7384 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.2244, allocations: 8.703 kB / 0.7384 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/0.2245, allocations: 20.12 kB / 0.7384 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005646/0.225, allocations: 487.4 kB / 0.7389 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.2251, allocations: 0 / 0.7389 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.855e-05/0.2251, allocations: 11.98 kB / 0.7389 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.536e-05/0.2251, allocations: 4 kB / 0.7389 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005534/0.2257, allocations: 447.5 kB / 0.7393 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.2269, allocations: 0.8086 MB / 0.7401 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003529/0.2272, allocations: 148.2 kB / 0.7402 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.2274, allocations: 56.88 kB / 0.7403 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007834/0.2281, allocations: 447.8 kB / 0.7407 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.2282, allocations: 34.56 kB / 0.7408 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.2282, allocations: 4 kB / 0.7408 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0003653/0.2285, allocations: 159.5 kB / 0.7409 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.2286, allocations: 55.39 kB / 0.741 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.2287, allocations: 176.1 kB / 0.7411 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.2288, allocations: 25.7 kB / 0.7412 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.2289, allocations: 140.2 kB / 0.7413 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.588e-05/0.2289, allocations: 55.53 kB / 0.7413 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.838e-05/0.229, allocations: 53.66 kB / 0.7414 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.2291, allocations: 322.8 kB / 0.7417 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.286e-05/0.2292, allocations: 35.97 kB / 0.7417 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.2294, allocations: 145.7 kB / 0.7419 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/0.2296, allocations: 204.4 kB / 0.7421 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2296, allocations: 0 / 0.7421 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003528/0.23, allocations: 217.7 kB / 0.7423 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.23, allocations: 11.94 kB / 0.7423 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.23, allocations: 3.938 kB / 0.7423 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/0.23, allocations: 11.94 kB / 0.7423 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.2302, allocations: 55.92 kB / 0.7424 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.2302, allocations: 7.984 kB / 0.7424 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.2304, allocations: 23.78 kB / 0.7424 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.2304, allocations: 19.98 kB / 0.7424 GB, free: 2.711 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001329/0.2305, allocations: 129.7 kB / 0.7425 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.678e-05/0.2306, allocations: 23.84 kB / 0.7426 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003211/0.2309, allocations: 162.9 kB / 0.7427 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.2309, allocations: 4 kB / 0.7427 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2309, allocations: 0 / 0.7427 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.2309, allocations: 0 / 0.7427 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.2312, allocations: 176.7 kB / 0.7429 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.2312, allocations: 0 / 0.7429 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.2313, allocations: 31.98 kB / 0.7429 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.2313, allocations: 0 / 0.7429 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.2313, allocations: 7.938 kB / 0.7429 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2313, allocations: 0 / 0.7429 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2313, allocations: 4 kB / 0.7429 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.2316, allocations: 223.3 kB / 0.7431 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.295e-05/0.2316, allocations: 35.86 kB / 0.7432 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.927e-05/0.2317, allocations: 7.938 kB / 0.7432 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.2319, allocations: 11.98 kB / 0.7432 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.55e-05/0.2319, allocations: 15.97 kB / 0.7432 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.517e-05/0.2319, allocations: 12 kB / 0.7432 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.636e-05/0.232, allocations: 119.9 kB / 0.7433 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.232, allocations: 0 / 0.7433 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004231/0.2325, allocations: 83.81 kB / 0.7434 GB, free: 1.605 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0007973/0.2332, allocations: 0.8401 MB / 0.7442 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002469/0.2335, allocations: 116.6 kB / 0.7443 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2335, allocations: 4 kB / 0.7444 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.09e-05/0.2336, allocations: 39.92 kB / 0.7444 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004597/0.234, allocations: 55.89 kB / 0.7444 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002418/0.2364, allocations: 2.047 MB / 0.7464 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.912e-05/0.2365, allocations: 107.2 kB / 0.7465 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001655/0.2367, allocations: 45.91 kB / 0.7466 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.376e-05/0.2368, allocations: 43.42 kB / 0.7466 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of SimCode: time 9.02e-07/0.2368, allocations: 0 / 0.7466 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02854/0.2653, allocations: 5.804 MB / 0.7523 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/11.94, allocations: 9.328 kB / 0.7523 GB, free: 8.531 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_WaterProperties.fmu > IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.317917580949143] Failed to read output from testmodel.py, exit status != 0: 12.102340376004577 12.476421826 12.250494313 Calling exit ...