Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.001506/0.001506, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001735/0.001735, allocations: 217 kB / 22.25 MB, free: 5.082 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.516/1.516, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9114/0.9114, allocations: 145 MB / 457.4 MB, free: 15.53 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro 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.002006/0.002006, allocations: 70.19 kB / 0.6332 GB, free: 7.352 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1877, allocations: 87.88 MB / 0.719 GB, free: 15.47 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005157/0.1929, allocations: 3.415 MB / 0.7223 GB, free: 12.04 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001076/0.193, allocations: 51.86 kB / 0.7224 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.675e-05/0.193, allocations: 0 / 0.7224 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.1931, allocations: 11.92 kB / 0.7224 GB, free: 11.97 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.123e-05/0.1932, allocations: 11.92 kB / 0.7224 GB, free: 11.96 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005646/0.1938, allocations: 191.3 kB / 0.7226 GB, free: 11.77 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.203e-05/0.1939, allocations: 35.84 kB / 0.7226 GB, free: 11.74 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.832e-05/0.1939, allocations: 8 kB / 0.7226 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.833e-05/0.1939, allocations: 11.98 kB / 0.7226 GB, free: 11.72 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.426e-05/0.194, allocations: 23.91 kB / 0.7227 GB, free: 11.7 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.194, allocations: 0 / 0.7227 GB, free: 11.7 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003832/0.1944, allocations: 187.5 kB / 0.7228 GB, free: 11.51 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.875e-05/0.1945, allocations: 7.984 kB / 0.7228 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.828e-05/0.1945, allocations: 11.94 kB / 0.7229 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002701/0.1948, allocations: 127.8 kB / 0.723 GB, free: 11.37 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1948, allocations: 3.984 kB / 0.723 GB, free: 11.36 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1948, allocations: 0 / 0.723 GB, free: 11.36 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.1948, allocations: 0 / 0.723 GB, free: 11.36 MB / 0.545 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.0004113/0.1952, allocations: 274.2 kB / 0.7232 GB, free: 11.07 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.1952, allocations: 11.97 kB / 0.7233 GB, free: 11.05 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.922e-05/0.1953, allocations: 34.69 kB / 0.7233 GB, free: 11.01 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.087e-05/0.1953, allocations: 4.938 kB / 0.7233 GB, free: 11.01 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.1954, allocations: 110.5 kB / 0.7234 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.338e-05/0.1955, allocations: 55.95 kB / 0.7235 GB, free: 10.81 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.1955, allocations: 8.125 kB / 0.7235 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.1956, allocations: 41.67 kB / 0.7235 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.1956, allocations: 0 / 0.7235 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.1956, allocations: 4 kB / 0.7235 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.1957, allocations: 0 / 0.7235 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.788e-05/0.1957, allocations: 27.86 kB / 0.7235 GB, free: 10.72 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005197/0.1962, allocations: 259.9 kB / 0.7238 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.005e-05/0.1963, allocations: 14.58 kB / 0.7238 GB, free: 10.4 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.725e-05/0.1963, allocations: 8.922 kB / 0.7238 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/0.1964, allocations: 35.97 kB / 0.7238 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.285e-05/0.1964, allocations: 38.55 kB / 0.7239 GB, free: 10.31 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.272e-06/0.1964, allocations: 0 / 0.7239 GB, free: 10.31 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001539/0.1966, allocations: 33.64 kB / 0.7239 GB, free: 10.27 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.1966, allocations: 51.41 kB / 0.724 GB, free: 10.21 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.1967, allocations: 105.8 kB / 0.7241 GB, free: 10.09 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.1967, allocations: 25.7 kB / 0.7241 GB, free: 10.06 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.169e-05/0.1968, allocations: 88.22 kB / 0.7242 GB, free: 9.973 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.927e-06/0.1968, allocations: 11.95 kB / 0.7242 GB, free: 9.961 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/0.1968, allocations: 9.719 kB / 0.7242 GB, free: 9.945 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.197, allocations: 326.8 kB / 0.7245 GB, free: 9.617 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.297e-05/0.197, allocations: 0 / 0.7245 GB, free: 9.617 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.884e-05/0.197, allocations: 13.72 kB / 0.7245 GB, free: 9.598 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.719e-05/0.1971, allocations: 33.66 kB / 0.7245 GB, free: 9.559 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.1971, allocations: 3.984 kB / 0.7245 GB, free: 9.555 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.744e-05/0.1972, allocations: 41.7 kB / 0.7246 GB, free: 9.508 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.1972, allocations: 8 kB / 0.7246 GB, free: 9.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1972, allocations: 3.938 kB / 0.7246 GB, free: 9.496 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.1972, allocations: 0 / 0.7246 GB, free: 9.496 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.52e-05/0.1972, allocations: 11.92 kB / 0.7246 GB, free: 9.484 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.1972, allocations: 0 / 0.7246 GB, free: 9.484 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.064e-05/0.1973, allocations: 4 kB / 0.7246 GB, free: 9.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.974e-06/0.1973, allocations: 64 / 0.7246 GB, free: 9.48 MB / 0.545 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.244e-05/0.1974, allocations: 117.8 kB / 0.7247 GB, free: 9.355 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.1974, allocations: 0 / 0.7247 GB, free: 9.355 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001297/0.1975, allocations: 125.2 kB / 0.7248 GB, free: 9.223 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-05/0.1976, allocations: 180.2 kB / 0.725 GB, free: 9.039 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.445e-05/0.1977, allocations: 180.3 kB / 0.7252 GB, free: 8.855 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.909e-05/0.1978, allocations: 192.2 kB / 0.7254 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000261/0.1981, allocations: 380.2 kB / 0.7257 GB, free: 8.238 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.429e-05/0.1981, allocations: 105 kB / 0.7258 GB, free: 8.129 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.408e-05/0.1982, allocations: 112.9 kB / 0.7259 GB, free: 8.012 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-05/0.1983, allocations: 176.3 kB / 0.7261 GB, free: 7.832 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.251e-05/0.1983, allocations: 184.2 kB / 0.7263 GB, free: 7.645 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.861e-05/0.1984, allocations: 184.3 kB / 0.7265 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.044e-05/0.1985, allocations: 180.2 kB / 0.7266 GB, free: 7.273 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.1987, allocations: 303.8 kB / 0.7269 GB, free: 6.953 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.056e-05/0.1988, allocations: 108.9 kB / 0.727 GB, free: 6.84 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.924e-05/0.1989, allocations: 188.2 kB / 0.7272 GB, free: 6.648 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.199, allocations: 109 kB / 0.7273 GB, free: 6.535 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.765e-05/0.1991, allocations: 184.2 kB / 0.7275 GB, free: 6.348 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.385e-05/0.1992, allocations: 101 kB / 0.7276 GB, free: 6.242 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.547e-05/0.1992, allocations: 87.27 kB / 0.7277 GB, free: 6.156 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1992, allocations: 0 / 0.7277 GB, free: 6.156 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003052/0.1995, allocations: 39.81 kB / 0.7277 GB, free: 6.117 MB / 0.545 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.0006777/0.2002, allocations: 0.8691 MB / 0.7285 GB, free: 5.219 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.451e-05/0.2003, allocations: 4 kB / 0.7286 GB, free: 5.215 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2003, allocations: 3.938 kB / 0.7286 GB, free: 5.211 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.06e-06/0.2003, allocations: 7.938 kB / 0.7286 GB, free: 5.203 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005083/0.2008, allocations: 459.8 kB / 0.729 GB, free: 4.75 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.202, allocations: 1.333 MB / 0.7303 GB, free: 3.332 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.2024, allocations: 0.6768 MB / 0.731 GB, free: 2.629 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.991e-05/0.2024, allocations: 10.03 kB / 0.731 GB, free: 2.621 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.604e-05/0.2024, allocations: 7.438 kB / 0.731 GB, free: 2.613 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.2024, allocations: 0 / 0.731 GB, free: 2.613 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03108/0.2335, allocations: 2.285 MB / 0.7332 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.2, allocations: 12.33 kB / 0.7332 GB, free: 0.5 MB / 0.545 GB " [Timeout remaining time 649] (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.010367251932621] Failed to read output from testmodel.py, exit status != 0: 11.307387777138501 11.333819959 11.133658267 Calling exit ...