Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.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.001674/0.001674, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002158/0.002158, allocations: 212.2 kB / 22.24 MB, free: 5.242 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.505/1.505, allocations: 230.6 MB / 256 MB, free: 7.785 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.9771/0.9771, allocations: 145 MB / 457.4 MB, free: 15.25 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.AirTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion",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: 79.36 kB / 0.6331 GB, free: 6.691 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.177, allocations: 87.88 MB / 0.7189 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5872/0.7642, allocations: 130.4 MB / 0.8462 GB, free: 8.805 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0001616/0.7644, allocations: 57.36 kB / 0.8462 GB, free: 8.754 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.936e-05/0.7644, allocations: 0 / 0.8462 GB, free: 8.754 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001422/0.7646, allocations: 7.938 kB / 0.8463 GB, free: 8.746 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.7647, allocations: 15.91 kB / 0.8463 GB, free: 8.73 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009119/0.7656, allocations: 207.8 kB / 0.8465 GB, free: 8.527 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.7657, allocations: 39.78 kB / 0.8465 GB, free: 8.488 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 5.058e-05/0.7658, allocations: 3.984 kB / 0.8465 GB, free: 8.484 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 4.587e-05/0.7658, allocations: 19.98 kB / 0.8465 GB, free: 8.465 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 7.499e-05/0.7659, allocations: 7.984 kB / 0.8465 GB, free: 8.457 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.7659, allocations: 4 kB / 0.8465 GB, free: 8.453 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004482/0.7663, allocations: 159.4 kB / 0.8467 GB, free: 8.297 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 6.079e-05/0.7664, allocations: 11.92 kB / 0.8467 GB, free: 8.285 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.98e-05/0.7664, allocations: 11.98 kB / 0.8467 GB, free: 8.273 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0003057/0.7667, allocations: 99.47 kB / 0.8468 GB, free: 8.18 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.7667, allocations: 3.938 kB / 0.8468 GB, free: 8.176 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.132e-06/0.7667, allocations: 0 / 0.8468 GB, free: 8.176 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.7668, allocations: 0 / 0.8468 GB, free: 8.176 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005056/0.7673, allocations: 269.3 kB / 0.8471 GB, free: 7.887 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/0.7673, allocations: 12.03 kB / 0.8471 GB, free: 7.875 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.163e-05/0.7674, allocations: 34.73 kB / 0.8471 GB, free: 7.832 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003904/0.7678, allocations: 28.86 kB / 0.8471 GB, free: 7.805 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.7679, allocations: 106.5 kB / 0.8472 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.101e-05/0.768, allocations: 59.34 kB / 0.8473 GB, free: 7.605 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.768, allocations: 0 / 0.8473 GB, free: 7.605 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.7682, allocations: 75.38 kB / 0.8474 GB, free: 7.52 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.7682, allocations: 0 / 0.8474 GB, free: 7.52 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.7682, allocations: 4 kB / 0.8474 GB, free: 7.516 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.339e-05/0.7682, allocations: 7.984 kB / 0.8474 GB, free: 7.508 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.515e-05/0.7683, allocations: 23.92 kB / 0.8474 GB, free: 7.484 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000488/0.7688, allocations: 233.9 kB / 0.8476 GB, free: 7.215 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 7.664e-05/0.7689, allocations: 18.58 kB / 0.8476 GB, free: 7.188 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.852e-05/0.7689, allocations: 12.92 kB / 0.8477 GB, free: 7.172 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001421/0.769, allocations: 15.98 kB / 0.8477 GB, free: 7.156 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.966e-05/0.7691, allocations: 38.5 kB / 0.8477 GB, free: 7.109 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/0.7691, allocations: 0 / 0.8477 GB, free: 7.109 MB / 0.6231 GB Notification: Performance of matching and sorting (n=2): time 0.0002749/0.7693, allocations: 53.62 kB / 0.8478 GB, free: 7.051 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.7694, allocations: 51.41 kB / 0.8478 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.7695, allocations: 105.8 kB / 0.8479 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.7695, allocations: 25.7 kB / 0.8479 GB, free: 6.844 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 5.635e-05/0.7696, allocations: 88.09 kB / 0.848 GB, free: 6.754 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 1.111e-05/0.7696, allocations: 7.953 kB / 0.848 GB, free: 6.746 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.665e-05/0.7696, allocations: 13.72 kB / 0.848 GB, free: 6.727 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.7698, allocations: 323 kB / 0.8483 GB, free: 6.402 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.079e-05/0.7698, allocations: 4 kB / 0.8483 GB, free: 6.398 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.375e-05/0.7698, allocations: 22.58 kB / 0.8484 GB, free: 6.367 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.436e-05/0.7699, allocations: 34.5 kB / 0.8484 GB, free: 6.324 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.7699, allocations: 0 / 0.8484 GB, free: 6.324 MB / 0.6231 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.818e-05/0.77, allocations: 57.58 kB / 0.8485 GB, free: 6.262 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.77, allocations: 4 kB / 0.8485 GB, free: 6.258 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.77, allocations: 8.094 kB / 0.8485 GB, free: 6.25 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.77, allocations: 1.031 kB / 0.8485 GB, free: 6.25 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.27e-05/0.7701, allocations: 4 kB / 0.8485 GB, free: 6.246 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.7701, allocations: 7.938 kB / 0.8485 GB, free: 6.238 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.41e-05/0.7701, allocations: 7.938 kB / 0.8485 GB, free: 6.23 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-06/0.7701, allocations: 0 / 0.8485 GB, free: 6.23 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.547e-05/0.7702, allocations: 113.8 kB / 0.8486 GB, free: 6.109 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-05/0.7702, allocations: 0 / 0.8486 GB, free: 6.109 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.714e-05/0.7703, allocations: 15.3 kB / 0.8486 GB, free: 6.094 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.696e-06/0.7703, allocations: 0.6875 kB / 0.8486 GB, free: 6.094 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.7703, allocations: 7.938 kB / 0.8486 GB, free: 6.086 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.7703, allocations: 0 / 0.8486 GB, free: 6.086 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000335/0.7706, allocations: 332 kB / 0.8489 GB, free: 5.707 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.7706, allocations: 0 / 0.8489 GB, free: 5.707 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.972e-05/0.7707, allocations: 4.875 kB / 0.8489 GB, free: 5.703 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.7707, allocations: 3.938 kB / 0.8489 GB, free: 5.699 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.7707, allocations: 7.984 kB / 0.849 GB, free: 5.691 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.7707, allocations: 0 / 0.849 GB, free: 5.691 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.7707, allocations: 0 / 0.849 GB, free: 5.691 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.7708, allocations: 70 kB / 0.849 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.204e-05/0.7708, allocations: 15.91 kB / 0.849 GB, free: 5.586 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.7708, allocations: 4.484 kB / 0.849 GB, free: 5.582 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.222e-05/0.7709, allocations: 4 kB / 0.849 GB, free: 5.578 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.256e-05/0.7709, allocations: 0 / 0.849 GB, free: 5.578 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-06/0.7709, allocations: 1.75 kB / 0.849 GB, free: 5.578 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.739e-05/0.771, allocations: 87.27 kB / 0.8491 GB, free: 5.492 MB / 0.6231 GB Notification: Performance of sort global known variables: time 6e-08/0.771, allocations: 0 / 0.8491 GB, free: 5.492 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002049/0.7712, allocations: 11.94 kB / 0.8491 GB, free: 5.48 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0004648/0.7716, allocations: 0.6098 MB / 0.8497 GB, free: 4.84 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001002/0.7717, allocations: 19.94 kB / 0.8498 GB, free: 4.82 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.7717, allocations: 0 / 0.8498 GB, free: 4.82 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.332e-05/0.7718, allocations: 7.938 kB / 0.8498 GB, free: 4.812 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.7721, allocations: 8 kB / 0.8498 GB, free: 4.805 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004315/0.7725, allocations: 147.8 kB / 0.8499 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.718e-05/0.7725, allocations: 63.34 kB / 0.85 GB, free: 4.535 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 5.649e-05/0.7726, allocations: 7.984 kB / 0.85 GB, free: 4.527 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.892e-05/0.7726, allocations: 11.44 kB / 0.85 GB, free: 4.516 MB / 0.6231 GB Notification: Performance of SimCode: time 4.91e-07/0.7726, allocations: 0 / 0.85 GB, free: 4.516 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03184/0.8045, allocations: 2.008 MB / 0.852 GB, free: 2.66 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.8, allocations: 6.062 kB / 0.852 GB, free: 2.66 MB / 0.6231 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.586779688950628] Failed to read output from testmodel.py, exit status != 0: 11.89969277009368 11.916143869 11.146115291 Calling exit ...