Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",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.0008884/0.0008884, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001151/0.001151, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 223.2 MB / 240 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.784/0.784, allocations: 132.3 MB / 423.4 MB, free: 2.062 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003558, allocations: 8 kB / 0.5035 GB, free: 4.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5137/0.5141, allocations: 81.57 MB / 0.5832 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1724/0.6865, allocations: 134 MB / 0.7141 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001534/0.6867, allocations: 63.89 kB / 0.7141 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.556e-05/0.6868, allocations: 0 / 0.7141 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001117/0.6869, allocations: 0 / 0.7141 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.693e-05/0.687, allocations: 19.91 kB / 0.7141 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004708/0.6875, allocations: 79.75 kB / 0.7142 GB, free: 9.996 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.6876, allocations: 43.81 kB / 0.7143 GB, free: 9.953 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.527e-05/0.6876, allocations: 8 kB / 0.7143 GB, free: 9.945 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.455e-05/0.6877, allocations: 8 kB / 0.7143 GB, free: 9.938 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.682e-05/0.6878, allocations: 23.91 kB / 0.7143 GB, free: 9.914 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.6878, allocations: 0 / 0.7143 GB, free: 9.914 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002645/0.6881, allocations: 43.84 kB / 0.7143 GB, free: 9.871 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.269e-05/0.6881, allocations: 15.92 kB / 0.7143 GB, free: 9.855 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.401e-05/0.6882, allocations: 29.7 kB / 0.7144 GB, free: 9.82 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.6883, allocations: 34.2 kB / 0.7144 GB, free: 9.789 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.6883, allocations: 0 / 0.7144 GB, free: 9.789 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6883, allocations: 0 / 0.7144 GB, free: 9.789 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.6883, allocations: 4 kB / 0.7144 GB, free: 9.785 MB / 0.545 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.0004007/0.6887, allocations: 335.3 kB / 0.7147 GB, free: 9.41 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.6888, allocations: 12.03 kB / 0.7147 GB, free: 9.398 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.779e-05/0.6888, allocations: 38.45 kB / 0.7148 GB, free: 9.352 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002267/0.6891, allocations: 15.98 kB / 0.7148 GB, free: 9.336 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.6892, allocations: 163.1 kB / 0.715 GB, free: 9.137 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.002e-05/0.6893, allocations: 33.7 kB / 0.715 GB, free: 9.098 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/0.6893, allocations: 0 / 0.715 GB, free: 9.098 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.6894, allocations: 49.67 kB / 0.715 GB, free: 9.043 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.6895, allocations: 0 / 0.715 GB, free: 9.043 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.6895, allocations: 3.953 kB / 0.715 GB, free: 9.039 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.041e-05/0.6895, allocations: 4 kB / 0.715 GB, free: 9.035 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.092e-05/0.6896, allocations: 15.98 kB / 0.7151 GB, free: 9.02 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004086/0.69, allocations: 268.8 kB / 0.7153 GB, free: 8.707 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.376e-05/0.6901, allocations: 22.58 kB / 0.7153 GB, free: 8.676 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.007e-05/0.6901, allocations: 8.812 kB / 0.7153 GB, free: 8.664 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.935e-06/0.6901, allocations: 0 / 0.7153 GB, free: 8.664 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.6901, allocations: 30.56 kB / 0.7154 GB, free: 8.625 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.6901, allocations: 0 / 0.7154 GB, free: 8.625 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001615/0.6903, allocations: 45.61 kB / 0.7154 GB, free: 8.574 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.6904, allocations: 51.41 kB / 0.7155 GB, free: 8.512 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.705e-05/0.6905, allocations: 105.8 kB / 0.7156 GB, free: 8.398 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.6905, allocations: 25.7 kB / 0.7156 GB, free: 8.367 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.603e-05/0.6905, allocations: 91.98 kB / 0.7157 GB, free: 8.273 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.009e-05/0.6906, allocations: 7.906 kB / 0.7157 GB, free: 8.266 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-06/0.6906, allocations: 0 / 0.7157 GB, free: 8.266 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.6907, allocations: 314.8 kB / 0.716 GB, free: 7.949 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.044e-05/0.6907, allocations: 8.125 kB / 0.716 GB, free: 7.941 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.274e-05/0.6908, allocations: 22.58 kB / 0.716 GB, free: 7.91 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.934e-05/0.6908, allocations: 11.98 kB / 0.716 GB, free: 7.898 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6908, allocations: 0 / 0.716 GB, free: 7.898 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.27e-05/0.6909, allocations: 53.59 kB / 0.7161 GB, free: 7.84 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.6909, allocations: 11.98 kB / 0.7161 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.691, allocations: 4.188 kB / 0.7161 GB, free: 7.824 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.691, allocations: 3.984 kB / 0.7161 GB, free: 7.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.039e-05/0.691, allocations: 8.188 kB / 0.7161 GB, free: 7.812 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.6911, allocations: 4 kB / 0.7161 GB, free: 7.809 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.874e-05/0.6911, allocations: 7.938 kB / 0.7161 GB, free: 7.801 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.6911, allocations: 4 kB / 0.7161 GB, free: 7.797 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.315e-05/0.6912, allocations: 107.4 kB / 0.7162 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/0.6912, allocations: 7.953 kB / 0.7162 GB, free: 7.676 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.425e-05/0.6913, allocations: 11.11 kB / 0.7162 GB, free: 7.664 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.6913, allocations: 4 kB / 0.7162 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.6913, allocations: 0 / 0.7162 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.6913, allocations: 0 / 0.7162 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00032/0.6916, allocations: 346.7 kB / 0.7166 GB, free: 7.262 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.6916, allocations: 0 / 0.7166 GB, free: 7.262 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.675e-05/0.6917, allocations: 7.938 kB / 0.7166 GB, free: 7.254 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.6917, allocations: 0 / 0.7166 GB, free: 7.254 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-06/0.6917, allocations: 0 / 0.7166 GB, free: 7.254 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.6917, allocations: 0 / 0.7166 GB, free: 7.254 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.6917, allocations: 4.031 kB / 0.7166 GB, free: 7.25 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.97e-05/0.6918, allocations: 65.03 kB / 0.7166 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.107e-05/0.6918, allocations: 81.06 kB / 0.7167 GB, free: 7.07 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.6919, allocations: 0 / 0.7167 GB, free: 7.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.304e-05/0.6919, allocations: 7.984 kB / 0.7167 GB, free: 7.062 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.328e-05/0.692, allocations: 0 / 0.7167 GB, free: 7.062 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.692, allocations: 4.031 kB / 0.7167 GB, free: 7.059 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.081e-05/0.692, allocations: 91.22 kB / 0.7168 GB, free: 6.969 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.692, allocations: 0 / 0.7168 GB, free: 6.969 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002052/0.6922, allocations: 4 kB / 0.7168 GB, free: 6.965 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.0003565/0.6926, allocations: 0.5929 MB / 0.7174 GB, free: 6.344 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.026e-05/0.6927, allocations: 19.95 kB / 0.7174 GB, free: 6.324 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6927, allocations: 0 / 0.7174 GB, free: 6.324 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.044e-06/0.6927, allocations: 4 kB / 0.7174 GB, free: 6.32 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.693, allocations: 11.39 kB / 0.7174 GB, free: 6.312 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003668/0.6933, allocations: 142.2 kB / 0.7176 GB, free: 6.133 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.6936, allocations: 0.6812 MB / 0.7182 GB, free: 5.426 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.933e-05/0.6937, allocations: 7.984 kB / 0.7182 GB, free: 5.418 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.701e-05/0.6937, allocations: 11.44 kB / 0.7183 GB, free: 5.406 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.6937, allocations: 0 / 0.7183 GB, free: 5.406 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0123/0.7061, allocations: 1.144 MB / 0.7194 GB, free: 4.469 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001869/0.7063, allocations: 207.5 kB / 0.7196 GB, free: 4.227 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.696/2.403, allocations: 3.375 kB / 0.7196 GB, free: 4.227 MB / 0.545 GB (rm -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: