Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001329/0.001329, 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.001474/0.001474, allocations: 212.3 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.396/1.396, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8218/0.8218, allocations: 134 MB / 446.4 MB, free: 9.898 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.002007/0.002007, allocations: 62.81 kB / 0.6185 GB, free: 6.875 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.168, allocations: 85.91 MB / 0.7024 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4967/0.6646, allocations: 130.3 MB / 0.8296 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001422/0.6648, allocations: 54.78 kB / 0.8297 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.579e-05/0.6648, allocations: 0 / 0.8297 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000111/0.6649, allocations: 7.922 kB / 0.8297 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.355e-05/0.665, allocations: 14.14 kB / 0.8297 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007833/0.6658, allocations: 217.4 kB / 0.8299 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.228e-05/0.6659, allocations: 32.08 kB / 0.83 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.939e-05/0.6659, allocations: 2.188 kB / 0.83 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.961e-05/0.6659, allocations: 19.97 kB / 0.83 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.407e-05/0.666, allocations: 12.16 kB / 0.83 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.666, allocations: 1.969 kB / 0.83 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004066/0.6664, allocations: 166 kB / 0.8301 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.059e-05/0.6665, allocations: 10.33 kB / 0.8302 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.632e-05/0.6665, allocations: 9.75 kB / 0.8302 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002624/0.6668, allocations: 96.64 kB / 0.8303 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.6668, allocations: 2.625 kB / 0.8303 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6668, allocations: 3.938 kB / 0.8303 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.6668, allocations: 3.938 kB / 0.8303 GB, free: 13.66 MB / 0.6075 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.0004418/0.6672, allocations: 270.2 kB / 0.8305 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.6673, allocations: 12.25 kB / 0.8305 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.983e-05/0.6673, allocations: 32.94 kB / 0.8306 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003329/0.6676, allocations: 26.31 kB / 0.8306 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.6678, allocations: 109.5 kB / 0.8307 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.721e-05/0.6678, allocations: 61.3 kB / 0.8308 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.6679, allocations: 0 / 0.8308 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.668, allocations: 72.8 kB / 0.8308 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.668, allocations: 0 / 0.8308 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.668, allocations: 2.906 kB / 0.8308 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/0.6681, allocations: 4 kB / 0.8308 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.003e-05/0.6681, allocations: 25.08 kB / 0.8309 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003878/0.6685, allocations: 233.5 kB / 0.8311 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.362e-05/0.6686, allocations: 26.36 kB / 0.8311 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.985e-05/0.6686, allocations: 7.047 kB / 0.8311 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000126/0.6687, allocations: 14.95 kB / 0.8311 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.6688, allocations: 36.88 kB / 0.8312 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/0.6688, allocations: 4 kB / 0.8312 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002409/0.669, allocations: 47.06 kB / 0.8312 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.669, allocations: 51.41 kB / 0.8313 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.565e-05/0.6691, allocations: 109.9 kB / 0.8314 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.6691, allocations: 25.7 kB / 0.8314 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.701e-05/0.6692, allocations: 90.81 kB / 0.8315 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.018e-05/0.6692, allocations: 3.953 kB / 0.8315 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/0.6692, allocations: 12.28 kB / 0.8315 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.6694, allocations: 321.9 kB / 0.8318 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.478e-05/0.6694, allocations: 6.875 kB / 0.8318 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.05e-05/0.6694, allocations: 23.48 kB / 0.8318 GB, free: 12 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.869e-05/0.6695, allocations: 34.97 kB / 0.8319 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6695, allocations: 6.156 kB / 0.8319 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.339e-05/0.6696, allocations: 53.41 kB / 0.8319 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.6696, allocations: 9.859 kB / 0.8319 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.6696, allocations: 5.828 kB / 0.8319 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.6696, allocations: 4 kB / 0.8319 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.372e-05/0.6696, allocations: 7.531 kB / 0.8319 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.6696, allocations: 3.938 kB / 0.8319 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.899e-05/0.6697, allocations: 3.094 kB / 0.8319 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.067e-06/0.6697, allocations: 0 / 0.8319 GB, free: 11.9 MB / 0.6075 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 8.163e-05/0.6698, allocations: 116.5 kB / 0.8321 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.6698, allocations: 6.469 kB / 0.8321 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.332e-05/0.6698, allocations: 7.312 kB / 0.8321 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.6698, allocations: 3.984 kB / 0.8321 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.6698, allocations: 6.594 kB / 0.8321 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.6698, allocations: 4.281 kB / 0.8321 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003064/0.6701, allocations: 328.1 kB / 0.8324 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.6701, allocations: 0 / 0.8324 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.525e-05/0.6702, allocations: 5.406 kB / 0.8324 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.6702, allocations: 7.922 kB / 0.8324 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.6702, allocations: 0 / 0.8324 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.6702, allocations: 0 / 0.8324 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6702, allocations: 2.844 kB / 0.8324 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.737e-05/0.6703, allocations: 72.31 kB / 0.8325 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.127e-06/0.6703, allocations: 11 kB / 0.8325 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.6703, allocations: 3.938 kB / 0.8325 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.308e-05/0.6704, allocations: 6.266 kB / 0.8325 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.044e-05/0.6704, allocations: 2.906 kB / 0.8325 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.6704, allocations: 0 / 0.8325 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.587e-05/0.6704, allocations: 84.28 kB / 0.8326 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.6704, allocations: 0 / 0.8326 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001896/0.6706, allocations: 4.969 kB / 0.8326 GB, free: 11.21 MB / 0.6075 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.0004112/0.671, allocations: 0.6184 MB / 0.8332 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.823e-05/0.6711, allocations: 12 kB / 0.8332 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6711, allocations: 2.875 kB / 0.8332 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-05/0.6711, allocations: 6.219 kB / 0.8332 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.6714, allocations: 6.656 kB / 0.8332 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003867/0.6717, allocations: 150.3 kB / 0.8334 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.479e-05/0.6718, allocations: 64.28 kB / 0.8334 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.715e-05/0.6718, allocations: 2.594 kB / 0.8334 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.2e-05/0.6719, allocations: 10.53 kB / 0.8334 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of SimCode: time 5.91e-07/0.6719, allocations: 0 / 0.8334 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02722/0.6991, allocations: 2.007 MB / 0.8354 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.66, allocations: 6.438 kB / 0.8354 GB, free: 9.047 MB / 0.6075 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.085726574994624] Failed to read output from testmodel.py, exit status != 0: 11.759811090305448 11.787038226 11.115212041 Calling exit ...