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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 102.8 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00205/0.00205, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.744/2.744, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.221/1.221, allocations: 132.3 MB / 423.2 MB, free: 2.199 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006068/0.000607, allocations: 8.5 kB / 0.5033 GB, free: 4.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.929/0.9296, allocations: 81.58 MB / 0.583 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.2326/1.162, allocations: 125.3 MB / 0.7053 GB, free: 3 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004375/1.163, allocations: 127.7 kB / 0.7054 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.686e-05/1.163, allocations: 0 / 0.7054 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001716/1.163, allocations: 0 / 0.7054 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.354e-05/1.163, allocations: 7.984 kB / 0.7054 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00137/1.165, allocations: 159.5 kB / 0.7056 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001278/1.165, allocations: 15.92 kB / 0.7056 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.829e-05/1.165, allocations: 3.984 kB / 0.7056 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.01e-05/1.165, allocations: 15.98 kB / 0.7056 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/1.165, allocations: 4 kB / 0.7056 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.733e-05/1.165, allocations: 4 kB / 0.7056 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000751/1.166, allocations: 111.8 kB / 0.7057 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.056e-05/1.166, allocations: 7.984 kB / 0.7057 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.821e-05/1.166, allocations: 29.7 kB / 0.7058 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003317/1.166, allocations: 42.2 kB / 0.7058 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/1.166, allocations: 0 / 0.7058 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.088e-06/1.166, allocations: 0 / 0.7058 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.385e-06/1.166, allocations: 0 / 0.7058 GB, free: 2.477 MB / 0.5294 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.0008902/1.167, allocations: 343.2 kB / 0.7061 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001045/1.167, allocations: 15.97 kB / 0.7061 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001255/1.168, allocations: 34.56 kB / 0.7062 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007248/1.168, allocations: 31.92 kB / 0.7062 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/1.169, allocations: 163 kB / 0.7064 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/1.169, allocations: 29.7 kB / 0.7064 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/1.169, allocations: 4 kB / 0.7064 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003759/1.169, allocations: 49.67 kB / 0.7064 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/1.169, allocations: 3.984 kB / 0.7064 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.262e-05/1.169, allocations: 7.984 kB / 0.7064 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.576e-05/1.169, allocations: 3.953 kB / 0.7064 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/1.17, allocations: 27.92 kB / 0.7065 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009506/1.171, allocations: 256.9 kB / 0.7067 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/1.171, allocations: 18.58 kB / 0.7067 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.031e-05/1.171, allocations: 8.062 kB / 0.7067 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.946e-05/1.171, allocations: 34.56 kB / 0.7068 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 2.915e-06/1.171, allocations: 0 / 0.7068 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0004929/1.171, allocations: 69.47 kB / 0.7068 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.907e-05/1.172, allocations: 51.41 kB / 0.7069 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/1.172, allocations: 97.86 kB / 0.707 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/1.172, allocations: 25.7 kB / 0.707 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/1.172, allocations: 95.97 kB / 0.7071 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.419e-05/1.172, allocations: 4.125 kB / 0.7071 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/1.172, allocations: 0 / 0.7071 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002716/1.172, allocations: 314.8 kB / 0.7074 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.665e-05/1.172, allocations: 4 kB / 0.7074 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.037e-05/1.172, allocations: 25.7 kB / 0.7074 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.008e-05/1.172, allocations: 4 kB / 0.7074 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/1.172, allocations: 0 / 0.7074 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001348/1.173, allocations: 65.53 kB / 0.7075 GB, free: 496 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.052e-05/1.173, allocations: 8 kB / 0.7075 GB, free: 488 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/1.173, allocations: 0 / 0.7075 GB, free: 488 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.493e-05/1.173, allocations: 3.953 kB / 0.7075 GB, free: 484 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/1.173, allocations: 7.984 kB / 0.7075 GB, free: 476 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.562e-05/1.173, allocations: 4 kB / 0.7075 GB, free: 472 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.667e-05/1.173, allocations: 0 / 0.7075 GB, free: 472 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.477e-06/1.173, allocations: 3.938 kB / 0.7075 GB, free: 468 kB / 0.5294 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001768/1.173, allocations: 109.8 kB / 0.7076 GB, free: 348 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.506e-05/1.173, allocations: 4.031 kB / 0.7076 GB, free: 344 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.146e-05/1.173, allocations: 7.125 kB / 0.7076 GB, free: 336 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/1.173, allocations: 7.953 kB / 0.7077 GB, free: 328 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/1.173, allocations: 3.938 kB / 0.7077 GB, free: 324 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/1.173, allocations: 0 / 0.7077 GB, free: 324 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006468/1.174, allocations: 363.6 kB / 0.708 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/1.174, allocations: 0 / 0.708 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.771e-05/1.174, allocations: 7.938 kB / 0.708 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/1.174, allocations: 8.016 kB / 0.708 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/1.174, allocations: 0 / 0.708 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/1.174, allocations: 4 kB / 0.708 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.174, allocations: 0 / 0.708 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/1.174, allocations: 83.61 kB / 0.7081 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.512e-05/1.174, allocations: 85.09 kB / 0.7082 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/1.174, allocations: 336 / 0.7082 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/1.174, allocations: 11.92 kB / 0.7082 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.02e-05/1.175, allocations: 8 kB / 0.7082 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/1.175, allocations: 4 kB / 0.7082 GB, free: 15.64 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.218e-05/1.175, allocations: 83.27 kB / 0.7083 GB, free: 15.56 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.066e-06/1.175, allocations: 0 / 0.7083 GB, free: 15.56 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003779/1.175, allocations: 11.94 kB / 0.7083 GB, free: 15.55 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006968/1.176, allocations: 0.6915 MB / 0.709 GB, free: 14.82 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000144/1.176, allocations: 23.97 kB / 0.709 GB, free: 14.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/1.176, allocations: 0 / 0.709 GB, free: 14.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.375e-05/1.176, allocations: 7.984 kB / 0.709 GB, free: 14.79 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/1.176, allocations: 4 kB / 0.709 GB, free: 14.79 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006459/1.177, allocations: 166.9 kB / 0.7092 GB, free: 14.58 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004686/1.177, allocations: 0.6811 MB / 0.7098 GB, free: 13.88 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.127e-05/1.177, allocations: 4 kB / 0.7098 GB, free: 13.87 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.007e-05/1.178, allocations: 11.44 kB / 0.7098 GB, free: 13.86 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/1.178, allocations: 0 / 0.7098 GB, free: 13.86 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02316/1.201, allocations: 1.217 MB / 0.711 GB, free: 12.79 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004108/1.201, allocations: 174.9 kB / 0.7112 GB, free: 12.55 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.722/3.923, allocations: 0 / 0.7112 GB, free: 12.55 MB / 0.545 GB (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/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: