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.001413/0.001413, 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.001559/0.001559, allocations: 214.1 kB / 23.78 MB, free: 4.555 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.488/1.488, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.9687/0.9687, allocations: 150 MB / 463.9 MB, free: 10.23 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",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.00348/0.00348, allocations: 70.47 kB / 0.6419 GB, free: 9.961 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1882, allocations: 89.18 MB / 0.729 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006347/0.1946, allocations: 3.901 MB / 0.7328 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001979/0.1948, allocations: 139.5 kB / 0.733 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.472e-05/0.1948, allocations: 0 / 0.733 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001008/0.1949, allocations: 3.938 kB / 0.733 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.948e-05/0.195, allocations: 11.97 kB / 0.733 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003727/0.1953, allocations: 83.69 kB / 0.7331 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.708e-05/0.1954, allocations: 35.86 kB / 0.7331 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.587e-05/0.1955, allocations: 4 kB / 0.7331 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.954e-05/0.1955, allocations: 15.97 kB / 0.7331 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.881e-05/0.1956, allocations: 19.92 kB / 0.7331 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.1956, allocations: 0 / 0.7331 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001959/0.1958, allocations: 47.81 kB / 0.7332 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.257e-05/0.1959, allocations: 7.984 kB / 0.7332 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.287e-05/0.1959, allocations: 19.86 kB / 0.7332 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.1961, allocations: 64.08 kB / 0.7333 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1961, allocations: 0 / 0.7333 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1961, allocations: 4 kB / 0.7333 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.1961, allocations: 0 / 0.7333 GB, free: 12.48 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.0004522/0.1966, allocations: 262.3 kB / 0.7335 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.1966, allocations: 8.031 kB / 0.7335 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.835e-05/0.1966, allocations: 192 / 0.7335 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.722e-05/0.1967, allocations: 30.75 kB / 0.7336 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.3e-05/0.1967, allocations: 4.938 kB / 0.7336 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.1968, allocations: 102.5 kB / 0.7337 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.158e-05/0.1969, allocations: 59.97 kB / 0.7337 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.1969, allocations: 3.938 kB / 0.7337 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.1971, allocations: 71.38 kB / 0.7338 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.1971, allocations: 3.938 kB / 0.7338 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.1971, allocations: 4 kB / 0.7338 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.945e-05/0.1971, allocations: 3.938 kB / 0.7338 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.722e-05/0.1972, allocations: 15.98 kB / 0.7338 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004303/0.1976, allocations: 224 kB / 0.734 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.572e-05/0.1976, allocations: 18.58 kB / 0.734 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.404e-05/0.1977, allocations: 4.859 kB / 0.7341 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.559e-05/0.1977, allocations: 12.05 kB / 0.7341 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.1977, allocations: 38.56 kB / 0.7341 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.1977, allocations: 3.938 kB / 0.7341 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001356/0.1979, allocations: 37.66 kB / 0.7341 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.1979, allocations: 51.41 kB / 0.7342 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.788e-05/0.198, allocations: 101.8 kB / 0.7343 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.198, allocations: 25.7 kB / 0.7343 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.78e-05/0.1981, allocations: 96.02 kB / 0.7344 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.949e-06/0.1981, allocations: 0 / 0.7344 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.1981, allocations: 21.7 kB / 0.7344 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.1983, allocations: 314.8 kB / 0.7347 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.456e-05/0.1983, allocations: 8.125 kB / 0.7347 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.531e-05/0.1983, allocations: 17.72 kB / 0.7347 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.849e-05/0.1984, allocations: 25.64 kB / 0.7348 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1984, allocations: 0 / 0.7348 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.75e-05/0.1984, allocations: 45.64 kB / 0.7348 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.1984, allocations: 7.984 kB / 0.7348 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1985, allocations: 4 kB / 0.7348 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.1985, allocations: 0 / 0.7348 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.359e-05/0.1985, allocations: 4.062 kB / 0.7348 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.1985, allocations: 4 kB / 0.7348 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.02e-05/0.1985, allocations: 12.17 kB / 0.7348 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.1985, allocations: 3.938 kB / 0.7349 GB, free: 10.64 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.186e-05/0.1986, allocations: 113.8 kB / 0.735 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.841e-05/0.1987, allocations: 4 kB / 0.735 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.1988, allocations: 124.9 kB / 0.7351 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.708e-05/0.1988, allocations: 180.3 kB / 0.7353 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.16e-05/0.1989, allocations: 180.3 kB / 0.7354 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.963e-05/0.199, allocations: 188.2 kB / 0.7356 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002488/0.1993, allocations: 380.2 kB / 0.736 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.537e-05/0.1993, allocations: 108.9 kB / 0.7361 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.827e-05/0.1994, allocations: 105 kB / 0.7362 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.728e-05/0.1994, allocations: 180.3 kB / 0.7363 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.447e-05/0.1995, allocations: 180.2 kB / 0.7365 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.783e-05/0.1996, allocations: 176.3 kB / 0.7367 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.399e-05/0.1997, allocations: 184.2 kB / 0.7369 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001905/0.1999, allocations: 311.7 kB / 0.7372 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.973e-05/0.1999, allocations: 105 kB / 0.7373 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.564e-05/0.2, allocations: 176.3 kB / 0.7374 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.2002, allocations: 120.9 kB / 0.7375 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.535e-05/0.2003, allocations: 176.3 kB / 0.7377 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.93e-05/0.2003, allocations: 112.9 kB / 0.7378 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.168e-05/0.2004, allocations: 87.2 kB / 0.7379 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2004, allocations: 0 / 0.7379 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002548/0.2006, allocations: 19.94 kB / 0.7379 GB, free: 7.309 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.0005133/0.2011, allocations: 0.8204 MB / 0.7387 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.897e-05/0.2012, allocations: 15.92 kB / 0.7387 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2012, allocations: 0 / 0.7387 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.2012, allocations: 4.125 kB / 0.7387 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004919/0.2017, allocations: 463.7 kB / 0.7392 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.2029, allocations: 1.318 MB / 0.7405 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.959e-05/0.2029, allocations: 63.28 kB / 0.7405 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.097e-05/0.203, allocations: 4 kB / 0.7405 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.993e-05/0.203, allocations: 15.42 kB / 0.7405 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/0.203, allocations: 0 / 0.7405 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02131/0.2243, allocations: 1.69 MB / 0.7422 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.04, allocations: 13.52 kB / 0.7422 GB, free: 2.934 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.859196879086085] Failed to read output from testmodel.py, exit status != 0: 12.206948259030469 12.221395842 12.022177931 Calling exit ...