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.007605/0.007605, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001423/0.001423, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8045/0.8045, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 59.91 kB / 0.5809 GB, free: 8.043 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.511/0.5125, allocations: 80.2 MB / 0.6592 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.197/0.7096, allocations: 147.8 MB / 0.8036 GB, free: 1.781 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0001696/0.7098, allocations: 55.86 kB / 0.8036 GB, free: 1.727 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.972e-05/0.7098, allocations: 0 / 0.8036 GB, free: 1.727 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001206/0.71, allocations: 3.938 kB / 0.8036 GB, free: 1.723 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 8.534e-05/0.7101, allocations: 15.91 kB / 0.8036 GB, free: 1.707 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005445/0.7106, allocations: 112.2 kB / 0.8037 GB, free: 1.602 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 9.799e-05/0.7107, allocations: 31.86 kB / 0.8038 GB, free: 1.57 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 5.126e-05/0.7108, allocations: 4 kB / 0.8038 GB, free: 1.566 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 4.682e-05/0.7109, allocations: 19.97 kB / 0.8038 GB, free: 1.547 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 7.774e-05/0.7109, allocations: 7.938 kB / 0.8038 GB, free: 1.539 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.711, allocations: 4 kB / 0.8038 GB, free: 1.535 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000319/0.7113, allocations: 83.7 kB / 0.8039 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 5.682e-05/0.7114, allocations: 8 kB / 0.8039 GB, free: 1.445 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 3.732e-05/0.7114, allocations: 19.91 kB / 0.8039 GB, free: 1.426 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.7116, allocations: 70.11 kB / 0.804 GB, free: 1.359 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.7116, allocations: 4 kB / 0.804 GB, free: 1.355 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.315e-06/0.7116, allocations: 0 / 0.804 GB, free: 1.355 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.7116, allocations: 0 / 0.804 GB, free: 1.355 MB / 0.6231 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.0004984/0.7121, allocations: 335.5 kB / 0.8043 GB, free: 0.9805 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.7122, allocations: 12.03 kB / 0.8043 GB, free: 0.9688 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.773e-05/0.7122, allocations: 34.69 kB / 0.8044 GB, free: 0.9258 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002488/0.7125, allocations: 20.83 kB / 0.8044 GB, free: 0.9062 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.7126, allocations: 172.1 kB / 0.8045 GB, free: 0.6992 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.296e-05/0.7127, allocations: 33.69 kB / 0.8046 GB, free: 0.6602 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.7127, allocations: 0 / 0.8046 GB, free: 0.6602 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.7129, allocations: 45.69 kB / 0.8046 GB, free: 0.6094 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.7129, allocations: 0 / 0.8046 GB, free: 0.6094 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.7129, allocations: 3.984 kB / 0.8046 GB, free: 0.6055 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.033e-05/0.713, allocations: 3.984 kB / 0.8046 GB, free: 0.6016 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.086e-05/0.713, allocations: 23.92 kB / 0.8046 GB, free: 0.5781 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004453/0.7135, allocations: 256.9 kB / 0.8049 GB, free: 284 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 4.647e-05/0.7136, allocations: 18.61 kB / 0.8049 GB, free: 256 kB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.006e-05/0.7136, allocations: 12.92 kB / 0.8049 GB, free: 240 kB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.7136, allocations: 0 / 0.8049 GB, free: 240 kB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.7136, allocations: 30.56 kB / 0.8049 GB, free: 200 kB / 0.6231 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.7136, allocations: 4 kB / 0.805 GB, free: 196 kB / 0.6231 GB Notification: Performance of matching and sorting (n=1): time 0.0001662/0.7138, allocations: 37.64 kB / 0.805 GB, free: 152 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/0.7139, allocations: 55.34 kB / 0.805 GB, free: 84 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.714, allocations: 109.8 kB / 0.8051 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.714, allocations: 25.7 kB / 0.8052 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.837e-05/0.7141, allocations: 91.98 kB / 0.8053 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 6.653e-06/0.7141, allocations: 4 kB / 0.8053 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.69e-05/0.7141, allocations: 13.83 kB / 0.8053 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.7143, allocations: 322.8 kB / 0.8056 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.585e-05/0.7143, allocations: 0 / 0.8056 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.608e-05/0.7143, allocations: 26.56 kB / 0.8056 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.49e-05/0.7144, allocations: 30.52 kB / 0.8056 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.7144, allocations: 4 kB / 0.8056 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001621/0.7145, allocations: 61.53 kB / 0.8057 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.7146, allocations: 4 kB / 0.8057 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.7146, allocations: 0 / 0.8057 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.7146, allocations: 4 kB / 0.8057 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.348e-05/0.7147, allocations: 8.188 kB / 0.8057 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.7147, allocations: 0 / 0.8057 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.405e-05/0.7147, allocations: 11.94 kB / 0.8057 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.7147, allocations: 0 / 0.8057 GB, free: 15.32 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 8.439e-05/0.7148, allocations: 118.5 kB / 0.8058 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.151e-05/0.7149, allocations: 3.984 kB / 0.8058 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.17e-05/0.7149, allocations: 7.203 kB / 0.8058 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-05/0.7149, allocations: 7.938 kB / 0.8059 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.7149, allocations: 0 / 0.8059 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.7149, allocations: 0 / 0.8059 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002746/0.7152, allocations: 346.7 kB / 0.8062 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.7152, allocations: 4.031 kB / 0.8062 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.754e-05/0.7152, allocations: 3.938 kB / 0.8062 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.7153, allocations: 3.984 kB / 0.8062 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.7153, allocations: 4 kB / 0.8062 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.7153, allocations: 3.938 kB / 0.8062 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.7153, allocations: 0 / 0.8062 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.7154, allocations: 57.05 kB / 0.8063 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 4.335e-05/0.7154, allocations: 85.05 kB / 0.8063 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.7155, allocations: 4.031 kB / 0.8063 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.321e-05/0.7156, allocations: 7.984 kB / 0.8064 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.294e-05/0.7156, allocations: 0 / 0.8064 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.7156, allocations: 0 / 0.8064 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.713e-05/0.7157, allocations: 83.27 kB / 0.8064 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7157, allocations: 0 / 0.8064 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002216/0.7159, allocations: 12 kB / 0.8064 GB, free: 14.47 MB / 0.6387 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.0003527/0.7162, allocations: 0.5968 MB / 0.807 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 9.527e-05/0.7163, allocations: 11.98 kB / 0.807 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.7164, allocations: 0 / 0.807 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 6.953e-06/0.7164, allocations: 3.938 kB / 0.807 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.7167, allocations: 9.031 kB / 0.807 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004415/0.7171, allocations: 140.3 kB / 0.8072 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/0.7176, allocations: 0.6768 MB / 0.8078 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 5.387e-05/0.7176, allocations: 7.984 kB / 0.8079 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.284e-05/0.7177, allocations: 11.44 kB / 0.8079 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of SimCode: time 3.6e-07/0.7177, allocations: 0 / 0.8079 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02035/0.7381, allocations: 1.369 MB / 0.8092 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.651/8.389, allocations: 12.75 kB / 0.8092 GB, free: 11.72 MB / 0.6387 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)