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.006767/0.006768, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9039/0.9039, allocations: 135.2 MB / 151 MB, free: 13.8 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.826/1.826, allocations: 223.2 MB / 406.8 MB, free: 3.23 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 104 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004746/0.0004746, allocations: 12 kB / 0.5691 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5568/0.5573, allocations: 82.31 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.179/4.737, allocations: 1.674 GB / 2.324 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/4.737, allocations: 76.28 kB / 2.324 GB, free: 8.992 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.363/5.1, allocations: 37.38 MB / 2.36 GB, free: 252.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.412e-06/5.1, allocations: 0 / 2.36 GB, free: 252.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.47e-06/5.1, allocations: 0 / 2.36 GB, free: 252.8 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.0002607/5.1, allocations: 359.2 kB / 2.361 GB, free: 252.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/5.101, allocations: 8.031 kB / 2.361 GB, free: 252.4 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.654e-05/5.101, allocations: 30.56 kB / 2.361 GB, free: 252.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002314/5.101, allocations: 31.83 kB / 2.361 GB, free: 252.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.029e-05/5.101, allocations: 159.1 kB / 2.361 GB, free: 252.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.427e-05/5.101, allocations: 29.7 kB / 2.361 GB, free: 252.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.795e-06/5.101, allocations: 0 / 2.361 GB, free: 252.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/5.101, allocations: 57.66 kB / 2.361 GB, free: 252 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/5.101, allocations: 3.984 kB / 2.361 GB, free: 252 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/5.101, allocations: 0 / 2.361 GB, free: 252 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/5.101, allocations: 7.953 kB / 2.361 GB, free: 252 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.671e-05/5.101, allocations: 19.92 kB / 2.361 GB, free: 252 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002558/5.101, allocations: 257 kB / 2.361 GB, free: 251.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.789e-05/5.101, allocations: 26.56 kB / 2.361 GB, free: 251.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000121/5.102, allocations: 93.16 kB / 2.361 GB, free: 251.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.496e-05/5.102, allocations: 38.52 kB / 2.361 GB, free: 251.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/5.102, allocations: 0 / 2.361 GB, free: 251.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.000191/5.102, allocations: 49.62 kB / 2.361 GB, free: 251.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.788e-05/5.102, allocations: 59.53 kB / 2.361 GB, free: 251.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.529e-05/5.102, allocations: 89 kB / 2.361 GB, free: 251.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.227e-06/5.102, allocations: 25.7 kB / 2.362 GB, free: 251.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.638e-05/5.102, allocations: 96.03 kB / 2.362 GB, free: 251.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.562e-06/5.102, allocations: 7.844 kB / 2.362 GB, free: 251.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/5.102, allocations: 0 / 2.362 GB, free: 251.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 3.758e-05/5.102, allocations: 314.8 kB / 2.362 GB, free: 250.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.257e-05/5.102, allocations: 4 kB / 2.362 GB, free: 250.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.97e-05/5.102, allocations: 30.56 kB / 2.362 GB, free: 250.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.955e-05/5.102, allocations: 7.938 kB / 2.362 GB, free: 250.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/5.102, allocations: 0 / 2.362 GB, free: 250.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.429e-05/5.102, allocations: 57.62 kB / 2.362 GB, free: 250.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/5.102, allocations: 8 kB / 2.362 GB, free: 250.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/5.102, allocations: 4 kB / 2.362 GB, free: 250.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/5.102, allocations: 8.047 kB / 2.362 GB, free: 250.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.279e-05/5.102, allocations: 8 kB / 2.362 GB, free: 250.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/5.102, allocations: 0 / 2.362 GB, free: 250.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.653e-05/5.102, allocations: 3.906 kB / 2.362 GB, free: 250.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/5.102, allocations: 7.938 kB / 2.362 GB, free: 250.7 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 () * 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 4.279e-05/5.102, allocations: 110.5 kB / 2.362 GB, free: 250.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.461e-05/5.102, allocations: 4 kB / 2.362 GB, free: 250.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.91e-05/5.102, allocations: 7.125 kB / 2.362 GB, free: 250.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/5.102, allocations: 3.953 kB / 2.362 GB, free: 250.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/5.102, allocations: 4 kB / 2.362 GB, free: 250.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/5.102, allocations: 0 / 2.362 GB, free: 250.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/5.103, allocations: 363.6 kB / 2.363 GB, free: 250.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/5.103, allocations: 0 / 2.363 GB, free: 250.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.428e-05/5.103, allocations: 4 kB / 2.363 GB, free: 250.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/5.103, allocations: 3.953 kB / 2.363 GB, free: 250.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/5.103, allocations: 0 / 2.363 GB, free: 250.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/5.103, allocations: 64 / 2.363 GB, free: 250.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/5.103, allocations: 4 kB / 2.363 GB, free: 250.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.428e-05/5.103, allocations: 83.64 kB / 2.363 GB, free: 250 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.883e-05/5.103, allocations: 84.97 kB / 2.363 GB, free: 249.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/5.103, allocations: 4 kB / 2.363 GB, free: 249.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.459e-05/5.103, allocations: 8.031 kB / 2.363 GB, free: 249.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.044e-05/5.103, allocations: 3.984 kB / 2.363 GB, free: 249.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/5.103, allocations: 0 / 2.363 GB, free: 249.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.114e-05/5.103, allocations: 83.56 kB / 2.363 GB, free: 249.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/5.103, allocations: 0 / 2.363 GB, free: 249.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002923/5.103, allocations: 39.98 kB / 2.363 GB, free: 249.8 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 () * 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.0006339/5.104, allocations: 1.155 MB / 2.364 GB, free: 248.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 6.39e-05/5.104, allocations: 15.92 kB / 2.364 GB, free: 248.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/5.104, allocations: 4 kB / 2.364 GB, free: 248.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.017e-06/5.104, allocations: 4 kB / 2.364 GB, free: 248.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001278/5.104, allocations: 5.094 kB / 2.364 GB, free: 248.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002909/5.104, allocations: 163.4 kB / 2.364 GB, free: 248.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.295e-05/5.105, allocations: 0.677 MB / 2.365 GB, free: 247.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.179e-05/5.105, allocations: 15.92 kB / 2.365 GB, free: 247.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.406e-05/5.105, allocations: 11.44 kB / 2.365 GB, free: 247.6 MB / 0.6823 GB Notification: Performance of SimCode: time 3.3e-07/5.105, allocations: 0 / 2.365 GB, free: 247.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01857/5.123, allocations: 10.22 MB / 2.375 GB, free: 237.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/5.123, allocations: 184.6 kB / 2.375 GB, free: 237.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.816/6.939, allocations: 0 / 2.375 GB, free: 237.2 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)