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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7663/0.7663, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.686/1.686, allocations: 221.3 MB / 400.4 MB, free: 5.859 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 103.8 kB / 483.3 MB, free: 5.891 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.718e-05/4.719e-05, allocations: 2.25 kB / 0.5601 GB, free: 87.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.1916, allocations: 82.31 MB / 0.6405 GB, free: 7.773 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.755/4.946, allocations: 1.674 GB / 2.315 GB, free: 256.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002998/4.947, allocations: 73.75 kB / 2.315 GB, free: 256.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07625/5.023, allocations: 37.33 MB / 2.351 GB, free: 225 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.165e-06/5.023, allocations: 0 / 2.351 GB, free: 225 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.568e-06/5.023, allocations: 0 / 2.351 GB, free: 225 MB / 0.6823 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.0003772/5.023, allocations: 343.2 kB / 2.351 GB, free: 224.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.955e-05/5.023, allocations: 12.03 kB / 2.351 GB, free: 224.6 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.006e-05/5.023, allocations: 46.5 kB / 2.351 GB, free: 224.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002974/5.024, allocations: 31.88 kB / 2.352 GB, free: 224.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/5.024, allocations: 163 kB / 2.352 GB, free: 224.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.112e-05/5.024, allocations: 25.7 kB / 2.352 GB, free: 224.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/5.024, allocations: 4 kB / 2.352 GB, free: 224.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/5.024, allocations: 45.67 kB / 2.352 GB, free: 224.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/5.024, allocations: 0 / 2.352 GB, free: 224.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/5.024, allocations: 7.953 kB / 2.352 GB, free: 224.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.378e-05/5.024, allocations: 0 / 2.352 GB, free: 224.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.968e-05/5.024, allocations: 23.98 kB / 2.352 GB, free: 224.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003903/5.025, allocations: 253 kB / 2.352 GB, free: 223.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.234e-05/5.025, allocations: 26.52 kB / 2.352 GB, free: 223.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.65e-05/5.025, allocations: 8.922 kB / 2.352 GB, free: 223.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001921/5.025, allocations: 97.05 kB / 2.352 GB, free: 223.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/5.025, allocations: 34.56 kB / 2.352 GB, free: 223.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/5.025, allocations: 0 / 2.352 GB, free: 223.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0002595/5.025, allocations: 45.67 kB / 2.352 GB, free: 223.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/5.025, allocations: 59.34 kB / 2.352 GB, free: 223.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.524e-05/5.025, allocations: 93 kB / 2.352 GB, free: 223.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/5.025, allocations: 25.7 kB / 2.352 GB, free: 223.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.59e-05/5.026, allocations: 96.06 kB / 2.352 GB, free: 223.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.368e-06/5.026, allocations: 7.844 kB / 2.352 GB, free: 223.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/5.026, allocations: 4 kB / 2.352 GB, free: 223.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.615e-05/5.026, allocations: 310.8 kB / 2.353 GB, free: 223 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.764e-05/5.026, allocations: 7.938 kB / 2.353 GB, free: 223 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.945e-05/5.026, allocations: 22.58 kB / 2.353 GB, free: 223 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.735e-05/5.026, allocations: 15.98 kB / 2.353 GB, free: 223 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/5.026, allocations: 0 / 2.353 GB, free: 223 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.203e-05/5.026, allocations: 53.62 kB / 2.353 GB, free: 222.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/5.026, allocations: 7.953 kB / 2.353 GB, free: 222.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/5.026, allocations: 0 / 2.353 GB, free: 222.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/5.026, allocations: 4 kB / 2.353 GB, free: 222.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.328e-05/5.026, allocations: 4 kB / 2.353 GB, free: 222.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/5.026, allocations: 3.938 kB / 2.353 GB, free: 222.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.152e-05/5.026, allocations: 15.94 kB / 2.353 GB, free: 222.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/5.026, allocations: 0 / 2.353 GB, free: 222.9 MB / 0.6823 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 () * 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.647e-05/5.026, allocations: 101 kB / 2.353 GB, free: 222.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/5.026, allocations: 4 kB / 2.353 GB, free: 222.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.048e-05/5.026, allocations: 15.06 kB / 2.353 GB, free: 222.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/5.026, allocations: 0 / 2.353 GB, free: 222.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/5.026, allocations: 0 / 2.353 GB, free: 222.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/5.026, allocations: 0 / 2.353 GB, free: 222.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/5.026, allocations: 363.6 kB / 2.353 GB, free: 222.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/5.026, allocations: 3.953 kB / 2.353 GB, free: 222.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.733e-05/5.027, allocations: 7.984 kB / 2.353 GB, free: 222.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/5.027, allocations: 0 / 2.353 GB, free: 222.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/5.027, allocations: 0 / 2.353 GB, free: 222.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/5.027, allocations: 0 / 2.353 GB, free: 222.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/5.027, allocations: 4 kB / 2.353 GB, free: 222.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.932e-05/5.027, allocations: 83.67 kB / 2.353 GB, free: 222.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.094e-05/5.027, allocations: 85 kB / 2.354 GB, free: 222.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/5.027, allocations: 4 kB / 2.354 GB, free: 222.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.348e-05/5.027, allocations: 8 kB / 2.354 GB, free: 222.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.092e-05/5.027, allocations: 0 / 2.354 GB, free: 222.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/5.027, allocations: 0 / 2.354 GB, free: 222.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.655e-05/5.027, allocations: 91.3 kB / 2.354 GB, free: 222 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.41e-07/5.027, allocations: 0 / 2.354 GB, free: 222 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000353/5.027, allocations: 43.94 kB / 2.354 GB, free: 222 MB / 0.6823 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 () * 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.0009868/5.028, allocations: 1.133 MB / 2.355 GB, free: 220.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001123/5.028, allocations: 19.94 kB / 2.355 GB, free: 220.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/5.028, allocations: 0 / 2.355 GB, free: 220.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.081e-05/5.028, allocations: 7.938 kB / 2.355 GB, free: 220.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001715/5.029, allocations: 10.62 kB / 2.355 GB, free: 220.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003288/5.029, allocations: 99.94 kB / 2.355 GB, free: 220.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/5.029, allocations: 0.6812 MB / 2.356 GB, free: 219.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.702e-05/5.029, allocations: 11.97 kB / 2.356 GB, free: 219.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.364e-05/5.029, allocations: 11.44 kB / 2.356 GB, free: 219.9 MB / 0.6823 GB Notification: Performance of SimCode: time 4.01e-07/5.029, allocations: 0 / 2.356 GB, free: 219.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02765/5.057, allocations: 11.95 MB / 2.367 GB, free: 208.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002432/5.057, allocations: 147.1 kB / 2.367 GB, free: 207.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.983/7.041, allocations: 0 / 2.367 GB, free: 207.8 MB / 0.6823 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)