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.01038/0.01038, allocations: 101.6 kB / 15.73 MB, free: 5.98 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.002165/0.002165, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7755/0.7755, allocations: 135.1 MB / 425.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 65.36 kB / 0.5851 GB, free: 22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1645, allocations: 80.91 MB / 0.6642 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5465/0.7111, allocations: 147.8 MB / 0.8085 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001185/0.7112, allocations: 54.59 kB / 0.8086 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.362e-05/0.7113, allocations: 0 / 0.8086 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001169/0.7114, allocations: 3.938 kB / 0.8086 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.633e-05/0.7115, allocations: 15.48 kB / 0.8086 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004181/0.7119, allocations: 106 kB / 0.8087 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.96e-05/0.712, allocations: 36.19 kB / 0.8087 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.921e-05/0.7121, allocations: 3.156 kB / 0.8088 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.551e-05/0.7121, allocations: 18.73 kB / 0.8088 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.679e-05/0.7122, allocations: 10.75 kB / 0.8088 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.7122, allocations: 1.938 kB / 0.8088 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002251/0.7124, allocations: 93.2 kB / 0.8089 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.538e-05/0.7125, allocations: 4.016 kB / 0.8089 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.769e-05/0.7125, allocations: 18.31 kB / 0.8089 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.7127, allocations: 69.11 kB / 0.809 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.7127, allocations: 3.375 kB / 0.809 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7127, allocations: 0 / 0.809 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.7127, allocations: 0 / 0.809 GB, free: 11.27 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.0003951/0.7131, allocations: 340.6 kB / 0.8093 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.7131, allocations: 9.391 kB / 0.8093 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.323e-05/0.7132, allocations: 39.19 kB / 0.8093 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002221/0.7134, allocations: 22.39 kB / 0.8094 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.7135, allocations: 164.3 kB / 0.8095 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.244e-05/0.7136, allocations: 34.59 kB / 0.8095 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.7136, allocations: 3.984 kB / 0.8095 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.7137, allocations: 46.48 kB / 0.8096 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.7138, allocations: 0 / 0.8096 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.7138, allocations: 2.5 kB / 0.8096 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.7138, allocations: 3.438 kB / 0.8096 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.216e-05/0.7139, allocations: 26.39 kB / 0.8096 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003425/0.7142, allocations: 254.7 kB / 0.8099 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 4.428e-05/0.7143, allocations: 17.14 kB / 0.8099 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.861e-05/0.7143, allocations: 7.422 kB / 0.8099 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-06/0.7143, allocations: 0 / 0.8099 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.7143, allocations: 36.11 kB / 0.8099 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.7143, allocations: 0 / 0.8099 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001302/0.7145, allocations: 38.48 kB / 0.81 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.7145, allocations: 59.97 kB / 0.81 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.096e-05/0.7146, allocations: 107.4 kB / 0.8101 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.7146, allocations: 27.39 kB / 0.8101 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.657e-05/0.7147, allocations: 103.1 kB / 0.8102 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.699e-06/0.7147, allocations: 128 / 0.8102 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.164e-05/0.7147, allocations: 20.31 kB / 0.8103 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.958e-05/0.7148, allocations: 315.1 kB / 0.8106 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.462e-05/0.7148, allocations: 2.594 kB / 0.8106 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.202e-05/0.7149, allocations: 29.7 kB / 0.8106 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.902e-05/0.7149, allocations: 33.7 kB / 0.8106 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.7149, allocations: 0 / 0.8106 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.192e-05/0.715, allocations: 53.88 kB / 0.8107 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.715, allocations: 4.375 kB / 0.8107 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.715, allocations: 2.812 kB / 0.8107 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.715, allocations: 0 / 0.8107 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.413e-05/0.7151, allocations: 7.891 kB / 0.8107 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.7151, allocations: 6.344 kB / 0.8107 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.898e-05/0.7152, allocations: 8 kB / 0.8107 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.7152, allocations: 6.281 kB / 0.8107 GB, free: 9.48 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.729e-05/0.7152, allocations: 114 kB / 0.8108 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/0.7153, allocations: 1.5 kB / 0.8108 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.122e-05/0.7153, allocations: 7.688 kB / 0.8108 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.7153, allocations: 0 / 0.8108 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.7153, allocations: 3.938 kB / 0.8108 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.7153, allocations: 0 / 0.8108 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/0.7156, allocations: 350.7 kB / 0.8112 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.7156, allocations: 2.812 kB / 0.8112 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.225e-05/0.7156, allocations: 0 / 0.8112 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.7156, allocations: 3.938 kB / 0.8112 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.7156, allocations: 0 / 0.8112 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.7156, allocations: 3.469 kB / 0.8112 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.7156, allocations: 0 / 0.8112 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.18e-05/0.7157, allocations: 63.36 kB / 0.8112 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.14e-05/0.7158, allocations: 87.45 kB / 0.8113 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.7158, allocations: 1.969 kB / 0.8113 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.147e-05/0.7159, allocations: 2.562 kB / 0.8113 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.509e-05/0.7159, allocations: 10.36 kB / 0.8113 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.7159, allocations: 2.969 kB / 0.8113 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.709e-05/0.7159, allocations: 81.09 kB / 0.8114 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7159, allocations: 2.844 kB / 0.8114 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001879/0.7161, allocations: 5.594 kB / 0.8114 GB, free: 8.715 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.000298/0.7164, allocations: 0.5997 MB / 0.812 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.648e-05/0.7165, allocations: 13.83 kB / 0.812 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.7165, allocations: 3 kB / 0.812 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.829e-06/0.7165, allocations: 224 / 0.812 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.7168, allocations: 6.531 kB / 0.812 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003264/0.7171, allocations: 134.6 kB / 0.8122 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.7174, allocations: 0.6803 MB / 0.8128 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.025e-05/0.7174, allocations: 2.969 kB / 0.8128 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.911e-05/0.7174, allocations: 16.64 kB / 0.8128 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of SimCode: time 2.1e-07/0.7175, allocations: 0 / 0.8128 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01793/0.7354, allocations: 1.357 MB / 0.8142 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.304/8.039, allocations: 9.422 kB / 0.8142 GB, free: 6.93 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)