Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_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.005015/0.005015, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001336/0.001336, allocations: 193.8 kB / 16.67 MB, free: 5.93 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.227/1.227, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7821/0.7821, allocations: 135.6 MB / 426.1 MB, free: 3.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002919/0.002919, allocations: 67.77 kB / 0.5858 GB, free: 21.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1907, allocations: 81.01 MB / 0.6649 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.534/0.7247, allocations: 147.8 MB / 0.8092 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001221/0.7248, allocations: 50.98 kB / 0.8093 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.23e-05/0.7249, allocations: 0 / 0.8093 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 9.747e-05/0.725, allocations: 3.938 kB / 0.8093 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.651e-05/0.7251, allocations: 9.25 kB / 0.8093 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004175/0.7255, allocations: 109.8 kB / 0.8094 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.94e-05/0.7256, allocations: 34.83 kB / 0.8094 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.6e-05/0.7257, allocations: 7.531 kB / 0.8095 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.509e-05/0.7257, allocations: 21.14 kB / 0.8095 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.154e-05/0.7258, allocations: 10.95 kB / 0.8095 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.7258, allocations: 0 / 0.8095 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002296/0.726, allocations: 86.03 kB / 0.8096 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.06e-05/0.7261, allocations: 10.11 kB / 0.8096 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.099e-05/0.7261, allocations: 12.66 kB / 0.8096 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.7263, allocations: 72.7 kB / 0.8097 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.7263, allocations: 0 / 0.8097 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7263, allocations: 0 / 0.8097 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.7263, allocations: 4 kB / 0.8097 GB, free: 11.21 MB / 0.5919 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.0004228/0.7267, allocations: 342.8 kB / 0.81 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.7268, allocations: 8.234 kB / 0.81 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.109e-05/0.7268, allocations: 33.31 kB / 0.81 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001963/0.727, allocations: 16.66 kB / 0.81 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.7272, allocations: 169.8 kB / 0.8102 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.594e-05/0.7272, allocations: 33.33 kB / 0.8102 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.844e-06/0.7272, allocations: 6.438 kB / 0.8102 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.7274, allocations: 48.3 kB / 0.8103 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.7274, allocations: 0 / 0.8103 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.7274, allocations: 2.812 kB / 0.8103 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.7274, allocations: 0 / 0.8103 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.754e-05/0.7275, allocations: 18.84 kB / 0.8103 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000381/0.7279, allocations: 267.5 kB / 0.8106 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 3.934e-05/0.7279, allocations: 19.11 kB / 0.8106 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.933e-05/0.7279, allocations: 11.77 kB / 0.8106 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.25e-06/0.728, allocations: 0 / 0.8106 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.728, allocations: 30.56 kB / 0.8106 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 2.795e-06/0.728, allocations: 4.828 kB / 0.8106 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001319/0.7281, allocations: 40.44 kB / 0.8107 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.7282, allocations: 61.88 kB / 0.8107 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.109e-05/0.7283, allocations: 103.7 kB / 0.8108 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.7283, allocations: 29.08 kB / 0.8108 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.856e-05/0.7284, allocations: 90.33 kB / 0.8109 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.252e-06/0.7284, allocations: 6.484 kB / 0.8109 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.7284, allocations: 16.12 kB / 0.811 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.7286, allocations: 313.2 kB / 0.8113 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.871e-05/0.7286, allocations: 13.97 kB / 0.8113 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.934e-05/0.7286, allocations: 25.48 kB / 0.8113 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.155e-05/0.7287, allocations: 32.44 kB / 0.8113 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.7287, allocations: 1.938 kB / 0.8113 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.661e-05/0.7288, allocations: 55.38 kB / 0.8114 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.7288, allocations: 5.625 kB / 0.8114 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.7288, allocations: 0 / 0.8114 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.7288, allocations: 2.344 kB / 0.8114 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.214e-05/0.7289, allocations: 10.09 kB / 0.8114 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.7289, allocations: 7.406 kB / 0.8114 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.596e-05/0.7289, allocations: 0 / 0.8114 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-06/0.7289, allocations: 1.406 kB / 0.8114 GB, free: 9.441 MB / 0.5919 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.641e-05/0.729, allocations: 115.2 kB / 0.8115 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/0.7291, allocations: 8.016 kB / 0.8115 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.891e-05/0.7291, allocations: 9.625 kB / 0.8115 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.7291, allocations: 0 / 0.8115 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.7291, allocations: 3.938 kB / 0.8115 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.7291, allocations: 7.875 kB / 0.8115 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000304/0.7294, allocations: 340.6 kB / 0.8119 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.7294, allocations: 0 / 0.8119 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.257e-05/0.7294, allocations: 3 kB / 0.8119 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.7295, allocations: 5.875 kB / 0.8119 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.238e-06/0.7295, allocations: 4.031 kB / 0.8119 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.7295, allocations: 0 / 0.8119 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.7295, allocations: 2.75 kB / 0.8119 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.082e-05/0.7295, allocations: 60.45 kB / 0.8119 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.753e-05/0.7296, allocations: 83.62 kB / 0.812 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.7296, allocations: 1.719 kB / 0.812 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.318e-05/0.7297, allocations: 4.297 kB / 0.812 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.577e-06/0.7297, allocations: 4.031 kB / 0.812 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-06/0.7297, allocations: 2.031 kB / 0.812 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.798e-05/0.7298, allocations: 84.16 kB / 0.8121 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7298, allocations: 3.938 kB / 0.8121 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000188/0.73, allocations: 7.938 kB / 0.8121 GB, free: 8.668 MB / 0.5919 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 (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.0003769/0.7304, allocations: 0.6018 MB / 0.8127 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.516e-05/0.7305, allocations: 18.77 kB / 0.8127 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.7305, allocations: 0 / 0.8127 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.969e-06/0.7305, allocations: 1.5 kB / 0.8127 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.7307, allocations: 6.5 kB / 0.8127 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003468/0.7311, allocations: 137.9 kB / 0.8129 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.7314, allocations: 0.6757 MB / 0.8135 GB, free: 7.227 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.806e-05/0.7315, allocations: 6.234 kB / 0.8135 GB, free: 7.227 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.524e-05/0.7315, allocations: 11.91 kB / 0.8135 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of SimCode: time 2.2e-07/0.7315, allocations: 1.156 kB / 0.8135 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02288/0.7544, allocations: 1.355 MB / 0.8149 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.254/9.009, allocations: 13.8 kB / 0.8149 GB, free: 6.875 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)