Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.00135/0.00135, allocations: 109 kB / 20.48 MB, free: 1.473 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.00169/0.00169, allocations: 207.4 kB / 23.78 MB, free: 4.688 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.491/1.491, allocations: 230.6 MB / 257.6 MB, free: 7.988 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.95/0.95, allocations: 150 MB / 464 MB, free: 10.48 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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",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.002037/0.002037, allocations: 63 kB / 0.642 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2172, allocations: 89.18 MB / 0.7291 GB, free: 1.266 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.00558/0.2227, allocations: 3.384 MB / 0.7324 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001064/0.2228, allocations: 59.84 kB / 0.7325 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.472e-05/0.2229, allocations: 0 / 0.7325 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.223, allocations: 7.938 kB / 0.7325 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.064e-05/0.2231, allocations: 7.922 kB / 0.7325 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006155/0.2237, allocations: 195.3 kB / 0.7327 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.248e-05/0.2238, allocations: 31.86 kB / 0.7327 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.534e-05/0.2238, allocations: 7.984 kB / 0.7327 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.178e-05/0.2238, allocations: 11.98 kB / 0.7327 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.915e-05/0.2239, allocations: 23.86 kB / 0.7328 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.2239, allocations: 0 / 0.7328 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003954/0.2243, allocations: 187.5 kB / 0.7329 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.515e-05/0.2244, allocations: 11.98 kB / 0.7329 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.761e-05/0.2244, allocations: 11.92 kB / 0.733 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002804/0.2247, allocations: 131.9 kB / 0.7331 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2247, allocations: 4 kB / 0.7331 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2247, allocations: 0 / 0.7331 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.2247, allocations: 0 / 0.7331 GB, free: 13.18 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.0004374/0.2252, allocations: 278.1 kB / 0.7334 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.2252, allocations: 8.031 kB / 0.7334 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.491e-05/0.2252, allocations: 4.188 kB / 0.7334 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.475e-05/0.2252, allocations: 30.75 kB / 0.7334 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.529e-05/0.2253, allocations: 12.92 kB / 0.7334 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.2254, allocations: 106.5 kB / 0.7335 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.15e-05/0.2255, allocations: 55.97 kB / 0.7336 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.2255, allocations: 3.938 kB / 0.7336 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.2257, allocations: 41.69 kB / 0.7336 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.2257, allocations: 3.938 kB / 0.7336 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.2257, allocations: 0 / 0.7336 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.2257, allocations: 4 kB / 0.7336 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.02e-05/0.2258, allocations: 15.92 kB / 0.7336 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005605/0.2263, allocations: 271.9 kB / 0.7339 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.448e-05/0.2264, allocations: 18.58 kB / 0.7339 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.099e-05/0.2264, allocations: 12.86 kB / 0.7339 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001001/0.2265, allocations: 32.03 kB / 0.7339 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.2265, allocations: 30.56 kB / 0.734 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.2265, allocations: 0 / 0.734 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001671/0.2267, allocations: 49.59 kB / 0.734 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.2267, allocations: 51.41 kB / 0.7341 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.2268, allocations: 105.8 kB / 0.7342 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.2269, allocations: 25.7 kB / 0.7342 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.859e-05/0.2269, allocations: 88.09 kB / 0.7343 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.933e-06/0.2269, allocations: 3.938 kB / 0.7343 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.773e-05/0.227, allocations: 21.7 kB / 0.7343 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.2271, allocations: 318.8 kB / 0.7346 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.854e-05/0.2272, allocations: 8 kB / 0.7346 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.561e-05/0.2272, allocations: 13.72 kB / 0.7346 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.889e-05/0.2272, allocations: 25.64 kB / 0.7347 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.2272, allocations: 0 / 0.7347 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.747e-05/0.2273, allocations: 53.62 kB / 0.7347 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.2273, allocations: 4.062 kB / 0.7347 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.2273, allocations: 4 kB / 0.7347 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.2273, allocations: 0 / 0.7347 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.542e-05/0.2274, allocations: 4 kB / 0.7347 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.2274, allocations: 4 kB / 0.7347 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.06e-05/0.2274, allocations: 3.953 kB / 0.7347 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.2274, allocations: 3.938 kB / 0.7347 GB, free: 11.28 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.318e-05/0.2275, allocations: 113.8 kB / 0.7348 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.2275, allocations: 0 / 0.7348 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001371/0.2277, allocations: 124.9 kB / 0.735 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.961e-05/0.2278, allocations: 176.3 kB / 0.7351 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.239e-05/0.2278, allocations: 180.3 kB / 0.7353 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.802e-05/0.2279, allocations: 188.2 kB / 0.7355 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002513/0.2282, allocations: 376.2 kB / 0.7358 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.932e-05/0.2282, allocations: 108.9 kB / 0.7359 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.413e-05/0.2283, allocations: 105 kB / 0.736 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-05/0.2283, allocations: 176.3 kB / 0.7362 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.218e-05/0.2284, allocations: 184.2 kB / 0.7364 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.006e-05/0.2285, allocations: 176.3 kB / 0.7366 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-05/0.2286, allocations: 192.1 kB / 0.7367 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001745/0.2288, allocations: 315.7 kB / 0.737 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.024e-05/0.2288, allocations: 105 kB / 0.7371 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.429e-05/0.2289, allocations: 180.2 kB / 0.7373 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.2291, allocations: 108.9 kB / 0.7374 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.393e-05/0.2292, allocations: 184.3 kB / 0.7376 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.946e-05/0.2292, allocations: 104.9 kB / 0.7377 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.801e-05/0.2293, allocations: 91.2 kB / 0.7378 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2293, allocations: 0 / 0.7378 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003195/0.2296, allocations: 35.88 kB / 0.7378 GB, free: 7.93 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.0006353/0.2302, allocations: 0.8739 MB / 0.7387 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.25e-05/0.2303, allocations: 15.94 kB / 0.7387 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2303, allocations: 0 / 0.7387 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.2303, allocations: 0 / 0.7387 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005678/0.2309, allocations: 466.2 kB / 0.7391 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.2322, allocations: 1.329 MB / 0.7404 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.2326, allocations: 0.6768 MB / 0.7411 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.412e-05/0.2326, allocations: 4 kB / 0.7411 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.485e-05/0.2327, allocations: 11.44 kB / 0.7411 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of SimCode: time 2.9e-07/0.2327, allocations: 4 kB / 0.7411 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02537/0.258, allocations: 2.258 MB / 0.7433 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.62, allocations: 11.47 kB / 0.7433 GB, free: 2.352 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.565653312020004] Failed to read output from testmodel.py, exit status != 0: 11.78259195201099 11.799308312 11.571406759 Calling exit ...