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.001443/0.001443, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001688/0.001688, allocations: 190.5 kB / 16.25 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7463/0.7463, allocations: 132.2 MB / 422.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 60.25 kB / 0.5013 GB, free: 4.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4544/0.4557, allocations: 80.2 MB / 0.5797 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1717/0.6274, allocations: 146.2 MB / 0.7224 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001651/0.6276, allocations: 51.8 kB / 0.7225 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.436e-05/0.6277, allocations: 4 kB / 0.7225 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.6278, allocations: 0 / 0.7225 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.723e-05/0.6279, allocations: 11.92 kB / 0.7225 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007929/0.6287, allocations: 202.2 kB / 0.7227 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.719e-05/0.6288, allocations: 31.86 kB / 0.7227 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.948e-05/0.6289, allocations: 8 kB / 0.7227 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.518e-05/0.6289, allocations: 15.97 kB / 0.7227 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.161e-05/0.629, allocations: 19.88 kB / 0.7227 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.629, allocations: 0 / 0.7227 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003761/0.6294, allocations: 203.4 kB / 0.7229 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.917e-05/0.6294, allocations: 11.92 kB / 0.723 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.883e-05/0.6295, allocations: 15.92 kB / 0.723 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.6297, allocations: 130 kB / 0.7231 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.6297, allocations: 0 / 0.7231 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6297, allocations: 0 / 0.7231 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.6297, allocations: 0 / 0.7231 GB, free: 14.34 MB / 0.5606 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.0003926/0.6301, allocations: 351.4 kB / 0.7234 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.6301, allocations: 8.031 kB / 0.7234 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.601e-05/0.6302, allocations: 34.75 kB / 0.7235 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002943/0.6305, allocations: 20.91 kB / 0.7235 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.6306, allocations: 172.1 kB / 0.7237 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.679e-05/0.6307, allocations: 25.7 kB / 0.7237 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.365e-06/0.6307, allocations: 0 / 0.7237 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.6308, allocations: 61.66 kB / 0.7237 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.6309, allocations: 0 / 0.7237 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.6309, allocations: 3.938 kB / 0.7237 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.6309, allocations: 0 / 0.7237 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.865e-05/0.6309, allocations: 19.98 kB / 0.7238 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00036/0.6313, allocations: 264.8 kB / 0.724 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.663e-05/0.6314, allocations: 26.58 kB / 0.724 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.932e-05/0.6314, allocations: 4.859 kB / 0.724 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001555/0.6316, allocations: 101.1 kB / 0.7241 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.6316, allocations: 34.5 kB / 0.7242 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.6316, allocations: 0 / 0.7242 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0002341/0.6319, allocations: 49.78 kB / 0.7242 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.6319, allocations: 59.38 kB / 0.7243 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.554e-05/0.632, allocations: 101.8 kB / 0.7244 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.632, allocations: 25.7 kB / 0.7244 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.594e-05/0.6321, allocations: 91.98 kB / 0.7245 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.504e-06/0.6321, allocations: 3.906 kB / 0.7245 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.94e-05/0.6321, allocations: 21.7 kB / 0.7245 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.755e-05/0.6322, allocations: 310.8 kB / 0.7248 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.654e-05/0.6322, allocations: 8 kB / 0.7248 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.939e-05/0.6323, allocations: 30.52 kB / 0.7248 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.007e-05/0.6323, allocations: 26.58 kB / 0.7249 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.6323, allocations: 4 kB / 0.7249 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.61e-05/0.6324, allocations: 61.66 kB / 0.7249 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.6324, allocations: 4 kB / 0.7249 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.6324, allocations: 0 / 0.7249 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.6325, allocations: 0 / 0.7249 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.449e-05/0.6325, allocations: 11.94 kB / 0.7249 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.6325, allocations: 3.938 kB / 0.7249 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.555e-05/0.6326, allocations: 3.938 kB / 0.725 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-06/0.6326, allocations: 4 kB / 0.725 GB, free: 12.16 MB / 0.5606 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 7.09e-05/0.6326, allocations: 113.8 kB / 0.7251 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.6327, allocations: 12 kB / 0.7251 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.809e-05/0.6327, allocations: 3.125 kB / 0.7251 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.6327, allocations: 0 / 0.7251 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.6327, allocations: 3.938 kB / 0.7251 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.6327, allocations: 0 / 0.7251 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002749/0.633, allocations: 367.5 kB / 0.7254 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.633, allocations: 0 / 0.7254 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.691e-05/0.633, allocations: 7.938 kB / 0.7254 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.6331, allocations: 4.062 kB / 0.7254 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.6331, allocations: 0 / 0.7254 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.6331, allocations: 0 / 0.7254 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.6331, allocations: 4 kB / 0.7254 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.156e-05/0.6332, allocations: 73.94 kB / 0.7255 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.266e-05/0.6332, allocations: 81.05 kB / 0.7256 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.6332, allocations: 8.031 kB / 0.7256 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.504e-05/0.6333, allocations: 7.984 kB / 0.7256 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.258e-05/0.6333, allocations: 4.281 kB / 0.7256 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-06/0.6333, allocations: 0 / 0.7256 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.721e-05/0.6334, allocations: 83.27 kB / 0.7257 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.6334, allocations: 0 / 0.7257 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001871/0.6336, allocations: 8 kB / 0.7257 GB, free: 11.28 MB / 0.5606 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.0003362/0.6339, allocations: 0.6093 MB / 0.7263 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.784e-05/0.634, allocations: 19.98 kB / 0.7263 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.634, allocations: 0 / 0.7263 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.289e-05/0.634, allocations: 12.16 kB / 0.7263 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.6343, allocations: 7.938 kB / 0.7263 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003624/0.6346, allocations: 149 kB / 0.7265 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.6349, allocations: 0.6802 MB / 0.7271 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.874e-05/0.6349, allocations: 12.11 kB / 0.7272 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.322e-05/0.635, allocations: 7.438 kB / 0.7272 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.635, allocations: 0 / 0.7272 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08449/0.7195, allocations: 1.331 MB / 0.7285 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003055/0.7198, allocations: 194.9 kB / 0.7286 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.833/2.553, allocations: 0 / 0.7286 GB, free: 8.23 MB / 0.5606 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/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)