Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.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.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion",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.001604/0.001604, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.002078/0.002078, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.397/2.397, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.568/1.568, allocations: 135.2 MB / 426.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005228/0.0005231, allocations: 17.27 kB / 0.5069 GB, free: 5.195 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3045, allocations: 82.31 MB / 0.5873 GB, free: 3.059 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.7949/1.1, allocations: 125.2 MB / 0.7096 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002572/1.1, allocations: 133.3 kB / 0.7097 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.663e-05/1.1, allocations: 0 / 0.7097 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001218/1.1, allocations: 0.75 kB / 0.7097 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.626e-05/1.1, allocations: 19.06 kB / 0.7097 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006721/1.101, allocations: 148.7 kB / 0.7099 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.241e-05/1.101, allocations: 19.3 kB / 0.7099 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.138e-05/1.101, allocations: 2 kB / 0.7099 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.25e-05/1.101, allocations: 12.97 kB / 0.7099 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.974e-05/1.101, allocations: 9.797 kB / 0.7099 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/1.101, allocations: 2.375 kB / 0.7099 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003482/1.101, allocations: 101.7 kB / 0.71 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.12e-05/1.101, allocations: 13.69 kB / 0.71 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.978e-05/1.101, allocations: 37.23 kB / 0.7101 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001673/1.102, allocations: 43.66 kB / 0.7101 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/1.102, allocations: 1.531 kB / 0.7101 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.803e-06/1.102, allocations: 0 / 0.7101 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.694e-06/1.102, allocations: 0 / 0.7101 GB, free: 2.805 MB / 0.5294 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.0004134/1.102, allocations: 341.5 kB / 0.7104 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/1.102, allocations: 10.09 kB / 0.7104 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.828e-05/1.102, allocations: 31.17 kB / 0.7105 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003594/1.103, allocations: 34.84 kB / 0.7105 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/1.103, allocations: 161.5 kB / 0.7106 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.143e-05/1.103, allocations: 30.61 kB / 0.7107 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/1.103, allocations: 1.562 kB / 0.7107 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/1.103, allocations: 52.25 kB / 0.7107 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/1.103, allocations: 0 / 0.7107 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/1.103, allocations: 1.094 kB / 0.7107 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/1.103, allocations: 4.172 kB / 0.7107 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.758e-05/1.103, allocations: 24.17 kB / 0.7108 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003468/1.103, allocations: 257.4 kB / 0.711 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.828e-05/1.103, allocations: 21.88 kB / 0.711 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.365e-05/1.104, allocations: 10.7 kB / 0.711 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/1.104, allocations: 31.59 kB / 0.7111 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/1.104, allocations: 4 kB / 0.7111 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0002445/1.104, allocations: 62.06 kB / 0.7111 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/1.104, allocations: 51.41 kB / 0.7112 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.627e-05/1.104, allocations: 98.86 kB / 0.7113 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/1.104, allocations: 29.7 kB / 0.7113 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.77e-05/1.104, allocations: 90.39 kB / 0.7114 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.953e-06/1.104, allocations: 2.156 kB / 0.7114 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-06/1.104, allocations: 0 / 0.7114 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.128e-05/1.104, allocations: 321 kB / 0.7117 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.854e-05/1.104, allocations: 7.922 kB / 0.7117 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.475e-05/1.104, allocations: 21.59 kB / 0.7117 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.646e-05/1.104, allocations: 11.48 kB / 0.7117 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/1.104, allocations: 0 / 0.7117 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.532e-05/1.104, allocations: 58.06 kB / 0.7118 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/1.104, allocations: 6.875 kB / 0.7118 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/1.104, allocations: 3.969 kB / 0.7118 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/1.104, allocations: 5.406 kB / 0.7118 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.206e-05/1.104, allocations: 11.78 kB / 0.7118 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/1.104, allocations: 4.547 kB / 0.7118 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.07e-05/1.104, allocations: 5.062 kB / 0.7118 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/1.104, allocations: 1.312 kB / 0.7118 GB, free: 1.047 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 6.682e-05/1.105, allocations: 109.1 kB / 0.7119 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/1.105, allocations: 2.312 kB / 0.7119 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.209e-05/1.105, allocations: 9.234 kB / 0.7119 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/1.105, allocations: 5.562 kB / 0.7119 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/1.105, allocations: 3.953 kB / 0.7119 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/1.105, allocations: 0.8438 kB / 0.7119 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003508/1.105, allocations: 369.3 kB / 0.7123 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/1.105, allocations: 3.438 kB / 0.7123 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.792e-05/1.105, allocations: 3.641 kB / 0.7123 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/1.105, allocations: 1.219 kB / 0.7123 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/1.105, allocations: 5.016 kB / 0.7123 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/1.105, allocations: 5.938 kB / 0.7123 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/1.105, allocations: 0 / 0.7123 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.992e-05/1.105, allocations: 88.2 kB / 0.7124 GB, free: 428 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.696e-05/1.105, allocations: 82.61 kB / 0.7125 GB, free: 328 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/1.105, allocations: 1.922 kB / 0.7125 GB, free: 328 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.494e-05/1.105, allocations: 8.859 kB / 0.7125 GB, free: 324 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.649e-05/1.105, allocations: 1.812 kB / 0.7125 GB, free: 324 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/1.105, allocations: 2.781 kB / 0.7125 GB, free: 324 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.188e-05/1.105, allocations: 85.12 kB / 0.7126 GB, free: 244 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/1.105, allocations: 0 / 0.7126 GB, free: 244 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001951/1.106, allocations: 6.531 kB / 0.7126 GB, free: 244 kB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0004158/1.106, allocations: 0.694 MB / 0.7133 GB, free: 15.54 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.569e-05/1.106, allocations: 18.48 kB / 0.7133 GB, free: 15.54 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/1.106, allocations: 0 / 0.7133 GB, free: 15.54 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.665e-05/1.106, allocations: 14.47 kB / 0.7133 GB, free: 15.53 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/1.106, allocations: 4.359 kB / 0.7133 GB, free: 15.53 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004106/1.107, allocations: 165 kB / 0.7135 GB, free: 15.37 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/1.107, allocations: 0.6782 MB / 0.7141 GB, free: 14.67 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.478e-05/1.107, allocations: 11.92 kB / 0.7141 GB, free: 14.67 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.268e-05/1.107, allocations: 8.562 kB / 0.7141 GB, free: 14.66 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/1.107, allocations: 0 / 0.7141 GB, free: 14.66 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01152/1.119, allocations: 1.228 MB / 0.7153 GB, free: 14.53 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002047/1.119, allocations: 181.4 kB / 0.7155 GB, free: 14.29 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.616/2.735, allocations: 3 kB / 0.7155 GB, free: 14.29 MB / 0.545 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: