Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_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.001744/0.001745, allocations: 108.6 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001967/0.001967, allocations: 191 kB / 16.66 MB, free: 6.59 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.469/1.469, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9937/0.9937, allocations: 135.6 MB / 426.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00189/0.001891, allocations: 67.89 kB / 0.5857 GB, free: 3.25 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3657, allocations: 81.02 MB / 0.6648 GB, free: 7 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1668/0.5325, allocations: 148.3 MB / 0.8096 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0001289/0.5327, allocations: 47.86 kB / 0.8097 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.305e-05/0.5327, allocations: 0 / 0.8097 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 9.079e-05/0.5329, allocations: 3.938 kB / 0.8097 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 7.396e-05/0.533, allocations: 19.91 kB / 0.8097 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006853/0.5336, allocations: 207.2 kB / 0.8099 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 8.987e-05/0.5337, allocations: 35.91 kB / 0.8099 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 3.415e-05/0.5338, allocations: 0 / 0.8099 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 3.717e-05/0.5338, allocations: 23.86 kB / 0.81 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 6.272e-05/0.5339, allocations: 11.98 kB / 0.81 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.5339, allocations: 4 kB / 0.81 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004251/0.5343, allocations: 187.5 kB / 0.8102 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 4.023e-05/0.5344, allocations: 11.98 kB / 0.8102 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.787e-05/0.5344, allocations: 15.92 kB / 0.8102 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002411/0.5347, allocations: 116.5 kB / 0.8103 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.5347, allocations: 0 / 0.8103 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5347, allocations: 0 / 0.8103 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.5347, allocations: 0 / 0.8103 GB, free: 11.55 MB / 0.6387 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.0003947/0.5351, allocations: 345.2 kB / 0.8106 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.5351, allocations: 12.03 kB / 0.8106 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.053e-05/0.5352, allocations: 38.73 kB / 0.8107 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002593/0.5355, allocations: 20.92 kB / 0.8107 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.5356, allocations: 172.1 kB / 0.8109 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.534e-05/0.5357, allocations: 25.7 kB / 0.8109 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.482e-06/0.5357, allocations: 0 / 0.8109 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.5358, allocations: 61.59 kB / 0.8109 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.5358, allocations: 4 kB / 0.811 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.5358, allocations: 0 / 0.811 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.5359, allocations: 0 / 0.811 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.738e-05/0.5359, allocations: 23.98 kB / 0.811 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003259/0.5362, allocations: 256.8 kB / 0.8112 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 4.956e-05/0.5363, allocations: 26.52 kB / 0.8112 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.382e-05/0.5363, allocations: 12.86 kB / 0.8113 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001408/0.5365, allocations: 93.16 kB / 0.8113 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.5365, allocations: 38.5 kB / 0.8114 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.5365, allocations: 0 / 0.8114 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2): time 0.0002089/0.5367, allocations: 53.64 kB / 0.8114 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/0.5368, allocations: 59.47 kB / 0.8115 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.5369, allocations: 101.8 kB / 0.8116 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.537, allocations: 33.64 kB / 0.8116 GB, free: 9.977 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.82e-05/0.537, allocations: 88.03 kB / 0.8117 GB, free: 9.887 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 9.438e-06/0.537, allocations: 11.94 kB / 0.8117 GB, free: 9.875 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/0.5371, allocations: 13.72 kB / 0.8117 GB, free: 9.855 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.5372, allocations: 322.8 kB / 0.812 GB, free: 9.531 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.559e-05/0.5372, allocations: 4 kB / 0.812 GB, free: 9.527 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.853e-05/0.5373, allocations: 22.58 kB / 0.8121 GB, free: 9.496 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.54e-05/0.5373, allocations: 30.56 kB / 0.8121 GB, free: 9.457 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.5373, allocations: 7.938 kB / 0.8121 GB, free: 9.449 MB / 0.6387 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.708e-05/0.5374, allocations: 49.64 kB / 0.8121 GB, free: 9.395 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.5374, allocations: 12.08 kB / 0.8122 GB, free: 9.383 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.5374, allocations: 0 / 0.8122 GB, free: 9.383 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.806e-06/0.5374, allocations: 0 / 0.8122 GB, free: 9.383 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.731e-05/0.5375, allocations: 8 kB / 0.8122 GB, free: 9.375 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.5375, allocations: 3.938 kB / 0.8122 GB, free: 9.371 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.731e-05/0.5375, allocations: 8 kB / 0.8122 GB, free: 9.363 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-06/0.5376, allocations: 0 / 0.8122 GB, free: 9.363 MB / 0.6387 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 0.0001304/0.5377, allocations: 109.8 kB / 0.8123 GB, free: 9.246 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.228e-05/0.5377, allocations: 0 / 0.8123 GB, free: 9.246 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.698e-05/0.5377, allocations: 15.11 kB / 0.8123 GB, free: 9.227 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.5378, allocations: 0 / 0.8123 GB, free: 9.227 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.5378, allocations: 3.938 kB / 0.8123 GB, free: 9.223 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-06/0.5378, allocations: 4 kB / 0.8123 GB, free: 9.219 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002973/0.5381, allocations: 359.5 kB / 0.8126 GB, free: 8.805 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.5381, allocations: 0 / 0.8126 GB, free: 8.805 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.775e-05/0.5381, allocations: 11.92 kB / 0.8127 GB, free: 8.793 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.5381, allocations: 0 / 0.8127 GB, free: 8.793 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.659e-06/0.5381, allocations: 4.062 kB / 0.8127 GB, free: 8.789 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.5381, allocations: 0 / 0.8127 GB, free: 8.789 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5381, allocations: 4 kB / 0.8127 GB, free: 8.785 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.782e-05/0.5382, allocations: 69.94 kB / 0.8127 GB, free: 8.695 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 4.815e-05/0.5383, allocations: 85.03 kB / 0.8128 GB, free: 8.594 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.5383, allocations: 4 kB / 0.8128 GB, free: 8.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.201e-05/0.5384, allocations: 8.031 kB / 0.8128 GB, free: 8.582 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.676e-06/0.5384, allocations: 0 / 0.8128 GB, free: 8.582 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.5384, allocations: 288 / 0.8128 GB, free: 8.582 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.525e-05/0.5385, allocations: 91.19 kB / 0.8129 GB, free: 8.492 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5385, allocations: 3.938 kB / 0.8129 GB, free: 8.488 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0001799/0.5386, allocations: 12 kB / 0.8129 GB, free: 8.477 MB / 0.6387 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.0003779/0.539, allocations: 0.6132 MB / 0.8135 GB, free: 7.832 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 7.229e-05/0.5391, allocations: 15.94 kB / 0.8135 GB, free: 7.816 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.5391, allocations: 0 / 0.8135 GB, free: 7.816 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.12e-05/0.5391, allocations: 4 kB / 0.8135 GB, free: 7.812 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/0.5393, allocations: 16.33 kB / 0.8136 GB, free: 7.797 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003312/0.5397, allocations: 145.2 kB / 0.8137 GB, free: 7.613 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.54, allocations: 0.6768 MB / 0.8144 GB, free: 6.91 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 5.014e-05/0.54, allocations: 11.94 kB / 0.8144 GB, free: 6.898 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.293e-05/0.5401, allocations: 11.44 kB / 0.8144 GB, free: 6.887 MB / 0.6387 GB Notification: Performance of SimCode: time 2.41e-07/0.5401, allocations: 0 / 0.8144 GB, free: 6.887 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4113/0.9514, allocations: 1.443 MB / 0.8158 GB, free: 5.535 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.692/9.644, allocations: 0.9375 kB / 0.8158 GB, free: 5.535 MB / 0.6387 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)