Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.001767/0.001767, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002143/0.002143, allocations: 209.6 kB / 22.24 MB, free: 5.262 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: 7.812 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.9144/0.9144, allocations: 145 MB / 457.4 MB, free: 15.29 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.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",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.002118/0.002118, allocations: 75 kB / 0.6331 GB, free: 6.758 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1905, allocations: 87.89 MB / 0.7189 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006141/0.1966, allocations: 3.91 MB / 0.7227 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002321/0.1968, allocations: 139.6 kB / 0.7229 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.11e-05/0.1969, allocations: 0 / 0.7229 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001122/0.197, allocations: 3.938 kB / 0.7229 GB, free: 10.81 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.917e-05/0.1971, allocations: 11.92 kB / 0.7229 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003778/0.1974, allocations: 87.73 kB / 0.7229 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.694e-05/0.1975, allocations: 43.83 kB / 0.723 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.175e-05/0.1976, allocations: 3.938 kB / 0.723 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.341e-05/0.1976, allocations: 15.98 kB / 0.723 GB, free: 10.65 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.004e-05/0.1977, allocations: 7.984 kB / 0.723 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.1977, allocations: 0 / 0.723 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002176/0.1979, allocations: 63.8 kB / 0.7231 GB, free: 10.58 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.849e-05/0.198, allocations: 7.938 kB / 0.7231 GB, free: 10.57 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.56e-05/0.198, allocations: 8 kB / 0.7231 GB, free: 10.57 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.1982, allocations: 63.8 kB / 0.7232 GB, free: 10.5 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1982, allocations: 0 / 0.7232 GB, free: 10.5 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1982, allocations: 3.938 kB / 0.7232 GB, free: 10.5 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.1982, allocations: 4 kB / 0.7232 GB, free: 10.5 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.0004431/0.1986, allocations: 260.6 kB / 0.7234 GB, free: 10.21 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.1987, allocations: 8.031 kB / 0.7234 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.969e-05/0.1987, allocations: 30.75 kB / 0.7234 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.506e-05/0.1987, allocations: 4.938 kB / 0.7235 GB, free: 10.16 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.1989, allocations: 110.5 kB / 0.7236 GB, free: 10.03 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.702e-05/0.199, allocations: 59.97 kB / 0.7236 GB, free: 9.961 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.199, allocations: 4.125 kB / 0.7236 GB, free: 9.957 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002922/0.1993, allocations: 67.39 kB / 0.7237 GB, free: 9.879 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.1993, allocations: 3.938 kB / 0.7237 GB, free: 9.875 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.1993, allocations: 4 kB / 0.7237 GB, free: 9.871 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/0.1993, allocations: 0 / 0.7237 GB, free: 9.871 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.307e-05/0.1994, allocations: 15.98 kB / 0.7237 GB, free: 9.855 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004587/0.1998, allocations: 224 kB / 0.7239 GB, free: 9.594 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.31e-05/0.1999, allocations: 18.58 kB / 0.7239 GB, free: 9.566 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.886e-05/0.1999, allocations: 12.84 kB / 0.7239 GB, free: 9.551 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.414e-05/0.1999, allocations: 8.062 kB / 0.724 GB, free: 9.543 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.2, allocations: 34.5 kB / 0.724 GB, free: 9.5 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.283e-06/0.2, allocations: 3.938 kB / 0.724 GB, free: 9.496 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001577/0.2001, allocations: 37.7 kB / 0.724 GB, free: 9.453 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.2002, allocations: 51.41 kB / 0.7241 GB, free: 9.391 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.589e-05/0.2003, allocations: 101.8 kB / 0.7242 GB, free: 9.281 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.2003, allocations: 25.7 kB / 0.7242 GB, free: 9.25 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.782e-05/0.2004, allocations: 92.03 kB / 0.7243 GB, free: 9.156 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.454e-06/0.2004, allocations: 4.078 kB / 0.7243 GB, free: 9.152 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/0.2004, allocations: 21.7 kB / 0.7243 GB, free: 9.125 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.2006, allocations: 318.8 kB / 0.7246 GB, free: 8.805 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.742e-05/0.2006, allocations: 4 kB / 0.7246 GB, free: 8.801 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.222e-05/0.2006, allocations: 21.64 kB / 0.7246 GB, free: 8.773 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.953e-05/0.2007, allocations: 21.72 kB / 0.7247 GB, free: 8.746 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.2007, allocations: 0 / 0.7247 GB, free: 8.746 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.229e-05/0.2007, allocations: 49.62 kB / 0.7247 GB, free: 8.691 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.2007, allocations: 4 kB / 0.7247 GB, free: 8.688 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.2008, allocations: 12 kB / 0.7247 GB, free: 8.676 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.2008, allocations: 0 / 0.7247 GB, free: 8.676 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.569e-05/0.2008, allocations: 4 kB / 0.7247 GB, free: 8.672 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.2008, allocations: 0 / 0.7247 GB, free: 8.672 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.953e-05/0.2008, allocations: 4 kB / 0.7247 GB, free: 8.668 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/0.2008, allocations: 0 / 0.7247 GB, free: 8.668 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 8.597e-05/0.2009, allocations: 119.3 kB / 0.7248 GB, free: 8.543 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.345e-05/0.201, allocations: 0 / 0.7248 GB, free: 8.543 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001246/0.2011, allocations: 124.9 kB / 0.725 GB, free: 8.414 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.623e-05/0.2012, allocations: 180.3 kB / 0.7251 GB, free: 8.23 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-05/0.2013, allocations: 188.2 kB / 0.7253 GB, free: 8.039 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.804e-05/0.2013, allocations: 180.3 kB / 0.7255 GB, free: 7.855 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000263/0.2016, allocations: 380.5 kB / 0.7259 GB, free: 7.434 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-05/0.2017, allocations: 108.9 kB / 0.726 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.378e-05/0.2017, allocations: 101 kB / 0.7261 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-05/0.2018, allocations: 188.2 kB / 0.7262 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.718e-05/0.2019, allocations: 176.3 kB / 0.7264 GB, free: 6.844 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001082/0.202, allocations: 180.2 kB / 0.7266 GB, free: 6.66 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001454/0.2021, allocations: 192.2 kB / 0.7268 GB, free: 6.465 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001758/0.2023, allocations: 307.7 kB / 0.727 GB, free: 6.141 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.304e-05/0.2024, allocations: 109 kB / 0.7272 GB, free: 6.027 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.206e-05/0.2025, allocations: 180.2 kB / 0.7273 GB, free: 5.844 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.2026, allocations: 108.9 kB / 0.7274 GB, free: 5.73 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.2027, allocations: 176.3 kB / 0.7276 GB, free: 5.551 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.354e-05/0.2028, allocations: 112.9 kB / 0.7277 GB, free: 5.434 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.451e-05/0.2028, allocations: 83.27 kB / 0.7278 GB, free: 5.352 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2028, allocations: 0 / 0.7278 GB, free: 5.352 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002623/0.2031, allocations: 23.81 kB / 0.7278 GB, free: 5.328 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.0006354/0.2037, allocations: 0.8243 MB / 0.7286 GB, free: 4.473 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.684e-05/0.2038, allocations: 15.94 kB / 0.7286 GB, free: 4.457 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2038, allocations: 4 kB / 0.7286 GB, free: 4.453 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.807e-06/0.2038, allocations: 4 kB / 0.7286 GB, free: 4.449 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005712/0.2044, allocations: 455.7 kB / 0.7291 GB, free: 4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.2057, allocations: 1.332 MB / 0.7304 GB, free: 2.582 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.907e-05/0.2057, allocations: 55.36 kB / 0.7304 GB, free: 2.508 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.777e-05/0.2058, allocations: 16.05 kB / 0.7304 GB, free: 2.492 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.967e-05/0.2058, allocations: 7.438 kB / 0.7304 GB, free: 2.484 MB / 0.545 GB Notification: Performance of SimCode: time 5.41e-07/0.2058, allocations: 0 / 0.7304 GB, free: 2.484 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03061/0.2364, allocations: 2.045 MB / 0.7324 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.32, allocations: 2.219 kB / 0.7324 GB, free: 0.5781 MB / 0.545 GB " [Timeout remaining time 649] (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.102939187083393] Failed to read output from testmodel.py, exit status != 0: 11.425253728870302 11.440443067 11.239174018 Calling exit ...