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.006014/0.006014, allocations: 103.1 kB / 15.73 MB, free: 6.051 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.001282/0.001282, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7763/0.7763, allocations: 132.2 MB / 422.7 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 58.44 kB / 0.5809 GB, free: 24.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.156, allocations: 80.22 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.551/0.707, allocations: 147.8 MB / 0.8036 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001764/0.7072, allocations: 51.91 kB / 0.8036 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.067e-05/0.7072, allocations: 0 / 0.8036 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001302/0.7074, allocations: 5.625 kB / 0.8036 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 9.24e-05/0.7075, allocations: 10.23 kB / 0.8036 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005523/0.7081, allocations: 112 kB / 0.8037 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.7082, allocations: 35.28 kB / 0.8038 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.692e-05/0.7083, allocations: 3.469 kB / 0.8038 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.585e-05/0.7083, allocations: 19.8 kB / 0.8038 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.758e-05/0.7084, allocations: 7.438 kB / 0.8038 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.7084, allocations: 2.219 kB / 0.8038 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002841/0.7087, allocations: 88.02 kB / 0.8039 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.436e-05/0.7088, allocations: 10.03 kB / 0.8039 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.655e-05/0.7088, allocations: 16.38 kB / 0.8039 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.709, allocations: 70.53 kB / 0.804 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.709, allocations: 2.062 kB / 0.804 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.154e-06/0.709, allocations: 0 / 0.804 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.7091, allocations: 1.375 kB / 0.804 GB, free: 11.68 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.0004768/0.7095, allocations: 339.4 kB / 0.8043 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.7096, allocations: 9.75 kB / 0.8043 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.94e-05/0.7096, allocations: 32.12 kB / 0.8043 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002345/0.7099, allocations: 24.38 kB / 0.8044 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.71, allocations: 168.2 kB / 0.8045 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.808e-05/0.7101, allocations: 30.86 kB / 0.8046 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.7101, allocations: 4.531 kB / 0.8046 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.7103, allocations: 47.08 kB / 0.8046 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.7103, allocations: 1.312 kB / 0.8046 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.7103, allocations: 2.188 kB / 0.8046 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.066e-05/0.7103, allocations: 8.469 kB / 0.8046 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.698e-05/0.7104, allocations: 15 kB / 0.8046 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004098/0.7108, allocations: 255.4 kB / 0.8049 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 4.948e-05/0.7109, allocations: 26.19 kB / 0.8049 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.812e-05/0.7109, allocations: 9.828 kB / 0.8049 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.33e-06/0.7109, allocations: 5.281 kB / 0.8049 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.7109, allocations: 31.56 kB / 0.805 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.711, allocations: 0 / 0.805 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001413/0.7111, allocations: 35.36 kB / 0.805 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.7111, allocations: 58.34 kB / 0.805 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.383e-05/0.7112, allocations: 111.1 kB / 0.8051 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.7113, allocations: 29.64 kB / 0.8052 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.667e-05/0.7113, allocations: 96.05 kB / 0.8053 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.779e-06/0.7113, allocations: 1.438 kB / 0.8053 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.989e-05/0.7114, allocations: 16.88 kB / 0.8053 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.7115, allocations: 313.9 kB / 0.8056 GB, free: 10 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.68e-05/0.7115, allocations: 8.25 kB / 0.8056 GB, free: 10 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.85e-05/0.7115, allocations: 26 kB / 0.8056 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.116e-05/0.7116, allocations: 34.23 kB / 0.8056 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.7116, allocations: 0 / 0.8056 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.638e-05/0.7117, allocations: 57.61 kB / 0.8057 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.7117, allocations: 5 kB / 0.8057 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.7117, allocations: 2.406 kB / 0.8057 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.7117, allocations: 0 / 0.8057 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.57e-05/0.7118, allocations: 12.16 kB / 0.8057 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.7118, allocations: 9.031 kB / 0.8057 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.788e-05/0.7118, allocations: 2 kB / 0.8057 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.7119, allocations: 1.062 kB / 0.8057 GB, free: 9.895 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 6.766e-05/0.7119, allocations: 110 kB / 0.8058 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.712, allocations: 1.031 kB / 0.8058 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.03e-05/0.712, allocations: 10.12 kB / 0.8058 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.712, allocations: 0 / 0.8058 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.712, allocations: 5.656 kB / 0.8059 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.712, allocations: 7.562 kB / 0.8059 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002488/0.7123, allocations: 347 kB / 0.8062 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.7123, allocations: 2.062 kB / 0.8062 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.314e-05/0.7123, allocations: 1.438 kB / 0.8062 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.7123, allocations: 3.938 kB / 0.8062 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.7123, allocations: 1.281 kB / 0.8062 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.7123, allocations: 0 / 0.8062 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.7123, allocations: 0 / 0.8062 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.637e-05/0.7124, allocations: 70.72 kB / 0.8063 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.325e-05/0.7124, allocations: 81.05 kB / 0.8063 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.7125, allocations: 1.438 kB / 0.8063 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.216e-05/0.7125, allocations: 5.312 kB / 0.8064 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.197e-06/0.7126, allocations: 0 / 0.8064 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.7126, allocations: 0 / 0.8064 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.358e-05/0.7126, allocations: 92.91 kB / 0.8064 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7126, allocations: 0 / 0.8064 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001928/0.7128, allocations: 9.719 kB / 0.8064 GB, free: 9.125 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.0003284/0.7132, allocations: 0.5901 MB / 0.807 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.77e-05/0.7133, allocations: 18.66 kB / 0.807 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.7133, allocations: 224 / 0.807 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 5.551e-06/0.7133, allocations: 6.438 kB / 0.807 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.7135, allocations: 7.625 kB / 0.8071 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003783/0.7139, allocations: 136 kB / 0.8072 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.7142, allocations: 0.6776 MB / 0.8078 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.667e-05/0.7143, allocations: 8.594 kB / 0.8079 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.128e-05/0.7143, allocations: 13.94 kB / 0.8079 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of SimCode: time 2.81e-07/0.7143, allocations: 0 / 0.8079 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01668/0.731, allocations: 1.358 MB / 0.8092 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.212/7.943, allocations: 16.16 kB / 0.8092 GB, free: 7.371 MB / 0.5919 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/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)