Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_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.001077/0.001077, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8396/0.8396, allocations: 133.6 MB / 141.6 MB, free: 2.906 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 221.5 MB / 395.4 MB, free: 10.78 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.001132/0.001132, allocations: 101.1 kB / 478.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.285e-05/2.288e-05, allocations: 0 / 0.5535 GB, free: 8.973 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4814/0.4814, allocations: 82.3 MB / 0.6339 GB, free: 40.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.494/4.976, allocations: 1.673 GB / 2.307 GB, free: 63.51 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/4.976, allocations: 72.28 kB / 2.307 GB, free: 63.48 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06892/5.045, allocations: 36.68 MB / 2.343 GB, free: 32.21 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.084e-06/5.045, allocations: 4 kB / 2.343 GB, free: 32.21 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.186e-06/5.045, allocations: 4 kB / 2.343 GB, free: 32.2 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.0003322/5.045, allocations: 346.4 kB / 2.344 GB, free: 31.82 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/5.045, allocations: 8.031 kB / 2.344 GB, free: 31.81 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002694/5.046, allocations: 31.84 kB / 2.344 GB, free: 31.78 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/5.046, allocations: 163.1 kB / 2.344 GB, free: 31.58 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.829e-05/5.046, allocations: 29.7 kB / 2.344 GB, free: 31.55 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-06/5.046, allocations: 4 kB / 2.344 GB, free: 31.54 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.535e-05/5.046, allocations: 19.98 kB / 2.344 GB, free: 31.52 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.214e-05/5.046, allocations: 41.69 kB / 2.344 GB, free: 31.48 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/5.046, allocations: 3.938 kB / 2.344 GB, free: 31.47 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/5.046, allocations: 3.953 kB / 2.344 GB, free: 31.47 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/5.046, allocations: 3.938 kB / 2.344 GB, free: 31.46 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004457/5.046, allocations: 334.6 kB / 2.344 GB, free: 31.08 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.721e-05/5.046, allocations: 18.58 kB / 2.344 GB, free: 31.05 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.652e-05/5.047, allocations: 4.859 kB / 2.344 GB, free: 31.05 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.084e-06/5.047, allocations: 0 / 2.344 GB, free: 31.05 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/5.047, allocations: 30.56 kB / 2.344 GB, free: 31.01 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/5.047, allocations: 0 / 2.344 GB, free: 31.01 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001993/5.047, allocations: 49.64 kB / 2.344 GB, free: 30.95 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/5.047, allocations: 59.41 kB / 2.344 GB, free: 30.88 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.55e-05/5.047, allocations: 96.98 kB / 2.344 GB, free: 30.78 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/5.047, allocations: 25.7 kB / 2.344 GB, free: 30.75 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.003e-05/5.047, allocations: 95.95 kB / 2.345 GB, free: 30.65 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.92e-06/5.047, allocations: 7.875 kB / 2.345 GB, free: 30.64 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/5.047, allocations: 0 / 2.345 GB, free: 30.64 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.741e-05/5.047, allocations: 310.8 kB / 2.345 GB, free: 30.33 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.371e-05/5.047, allocations: 12.03 kB / 2.345 GB, free: 30.32 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.655e-05/5.047, allocations: 22.56 kB / 2.345 GB, free: 30.29 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.835e-05/5.047, allocations: 4 kB / 2.345 GB, free: 30.29 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/5.047, allocations: 0 / 2.345 GB, free: 30.29 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.261e-05/5.047, allocations: 53.62 kB / 2.345 GB, free: 30.23 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/5.047, allocations: 4.094 kB / 2.345 GB, free: 30.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/5.047, allocations: 4 kB / 2.345 GB, free: 30.22 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/5.047, allocations: 4 kB / 2.345 GB, free: 30.21 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.954e-05/5.047, allocations: 7.953 kB / 2.345 GB, free: 30.21 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/5.047, allocations: 0 / 2.345 GB, free: 30.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.823e-05/5.047, allocations: 7.906 kB / 2.345 GB, free: 30.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/5.047, allocations: 0 / 2.345 GB, free: 30.2 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 7.494e-05/5.047, allocations: 108.9 kB / 2.345 GB, free: 30.09 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 4.967e-05/5.047, allocations: 33.69 kB / 2.345 GB, free: 30.05 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/5.048, allocations: 4.031 kB / 2.345 GB, free: 30.04 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.255e-05/5.048, allocations: 15.7 kB / 2.345 GB, free: 30.03 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/5.048, allocations: 0 / 2.345 GB, free: 30.03 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/5.048, allocations: 0 / 2.345 GB, free: 30.03 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/5.048, allocations: 0 / 2.345 GB, free: 30.03 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/5.048, allocations: 323.4 kB / 2.345 GB, free: 29.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/5.048, allocations: 0 / 2.345 GB, free: 29.67 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.331e-05/5.048, allocations: 3.984 kB / 2.345 GB, free: 29.66 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/5.048, allocations: 3.953 kB / 2.345 GB, free: 29.66 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/5.048, allocations: 8.031 kB / 2.345 GB, free: 29.65 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/5.048, allocations: 3.984 kB / 2.345 GB, free: 29.65 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/5.048, allocations: 0 / 2.345 GB, free: 29.65 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.163e-05/5.048, allocations: 57.05 kB / 2.346 GB, free: 29.57 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.817e-05/5.048, allocations: 89.03 kB / 2.346 GB, free: 29.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/5.048, allocations: 3.953 kB / 2.346 GB, free: 29.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.957e-05/5.048, allocations: 4 kB / 2.346 GB, free: 29.46 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.778e-05/5.048, allocations: 4.031 kB / 2.346 GB, free: 29.46 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-06/5.048, allocations: 0 / 2.346 GB, free: 29.46 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.371e-05/5.048, allocations: 83.28 kB / 2.346 GB, free: 29.38 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.61e-07/5.048, allocations: 3.938 kB / 2.346 GB, free: 29.37 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002539/5.048, allocations: 35.98 kB / 2.346 GB, free: 29.34 MB / 0.6823 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 () * 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 (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.0008118/5.049, allocations: 1.12 MB / 2.347 GB, free: 28.19 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.191e-05/5.049, allocations: 15.98 kB / 2.347 GB, free: 28.18 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/5.049, allocations: 0 / 2.347 GB, free: 28.18 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.609e-06/5.049, allocations: 3.938 kB / 2.347 GB, free: 28.17 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/5.049, allocations: 11.95 kB / 2.347 GB, free: 28.16 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002835/5.05, allocations: 86.08 kB / 2.347 GB, free: 28.04 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000155/5.05, allocations: 0.6768 MB / 2.348 GB, free: 27.34 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.552e-05/5.05, allocations: 12.23 kB / 2.348 GB, free: 27.32 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.304e-05/5.05, allocations: 15.42 kB / 2.348 GB, free: 27.31 MB / 0.6823 GB Notification: Performance of SimCode: time 2.51e-07/5.05, allocations: 0 / 2.348 GB, free: 27.31 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02786/5.078, allocations: 5.268 MB / 2.353 GB, free: 22.04 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002192/5.078, allocations: 136.6 kB / 2.353 GB, free: 21.85 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.806/6.884, allocations: 0 / 2.353 GB, free: 21.85 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)