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.001247/0.001247, 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.8014/0.8014, allocations: 133.4 MB / 146.7 MB, free: 10.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.651/1.651, allocations: 221.3 MB / 400.4 MB, free: 5.797 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.0009762/0.0009758, allocations: 97.67 kB / 483.3 MB, free: 5.836 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.661e-05/4.664e-05, allocations: 3.281 kB / 0.5601 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1747, allocations: 82.3 MB / 0.6405 GB, free: 7.742 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.962/5.137, allocations: 1.674 GB / 2.315 GB, free: 256.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003384/5.137, allocations: 77.39 kB / 2.315 GB, free: 256.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07476/5.212, allocations: 37.33 MB / 2.351 GB, free: 224.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.433e-06/5.212, allocations: 0 / 2.351 GB, free: 224.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.185e-06/5.212, allocations: 0 / 2.351 GB, free: 224.5 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.000378/5.213, allocations: 351.2 kB / 2.351 GB, free: 224.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.049e-05/5.213, allocations: 11.97 kB / 2.351 GB, free: 224.1 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.975e-05/5.213, allocations: 38.52 kB / 2.351 GB, free: 224.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003448/5.213, allocations: 35.86 kB / 2.352 GB, free: 224 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/5.213, allocations: 159.1 kB / 2.352 GB, free: 223.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.371e-05/5.213, allocations: 29.7 kB / 2.352 GB, free: 223.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/5.213, allocations: 0 / 2.352 GB, free: 223.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/5.213, allocations: 49.67 kB / 2.352 GB, free: 223.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/5.214, allocations: 0 / 2.352 GB, free: 223.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/5.214, allocations: 3.953 kB / 2.352 GB, free: 223.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.181e-05/5.214, allocations: 4 kB / 2.352 GB, free: 223.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.322e-05/5.214, allocations: 19.94 kB / 2.352 GB, free: 223.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003944/5.214, allocations: 252.9 kB / 2.352 GB, free: 223.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.975e-05/5.214, allocations: 26.61 kB / 2.352 GB, free: 223.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.166e-05/5.214, allocations: 8.922 kB / 2.352 GB, free: 223.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001493/5.214, allocations: 101 kB / 2.352 GB, free: 223.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/5.214, allocations: 30.56 kB / 2.352 GB, free: 223.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 2.014e-06/5.214, allocations: 0 / 2.352 GB, free: 223.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0002497/5.215, allocations: 49.62 kB / 2.352 GB, free: 223.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/5.215, allocations: 51.41 kB / 2.352 GB, free: 223.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.169e-05/5.215, allocations: 97 kB / 2.352 GB, free: 223 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/5.215, allocations: 29.64 kB / 2.352 GB, free: 223 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.202e-05/5.215, allocations: 88.08 kB / 2.352 GB, free: 222.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.18e-05/5.215, allocations: 7.891 kB / 2.352 GB, free: 222.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/5.215, allocations: 0 / 2.352 GB, free: 222.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.988e-05/5.215, allocations: 318.8 kB / 2.353 GB, free: 222.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.446e-05/5.215, allocations: 0 / 2.353 GB, free: 222.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.42e-05/5.215, allocations: 22.58 kB / 2.353 GB, free: 222.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.51e-05/5.215, allocations: 15.98 kB / 2.353 GB, free: 222.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/5.215, allocations: 0 / 2.353 GB, free: 222.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.159e-05/5.215, allocations: 49.92 kB / 2.353 GB, free: 222.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/5.215, allocations: 11.94 kB / 2.353 GB, free: 222.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/5.215, allocations: 4 kB / 2.353 GB, free: 222.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/5.215, allocations: 0 / 2.353 GB, free: 222.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.114e-05/5.215, allocations: 7.938 kB / 2.353 GB, free: 222.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/5.215, allocations: 4 kB / 2.353 GB, free: 222.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.337e-05/5.215, allocations: 15.88 kB / 2.353 GB, free: 222.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/5.215, allocations: 7.984 kB / 2.353 GB, free: 222.4 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.61e-05/5.215, allocations: 101 kB / 2.353 GB, free: 222.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/5.215, allocations: 4 kB / 2.353 GB, free: 222.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.136e-05/5.215, allocations: 15.08 kB / 2.353 GB, free: 222.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/5.215, allocations: 0 / 2.353 GB, free: 222.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/5.215, allocations: 0 / 2.353 GB, free: 222.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/5.215, allocations: 3.984 kB / 2.353 GB, free: 222.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002657/5.216, allocations: 355.6 kB / 2.353 GB, free: 221.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/5.216, allocations: 3.953 kB / 2.353 GB, free: 221.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.175e-05/5.216, allocations: 8 kB / 2.353 GB, free: 221.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/5.216, allocations: 3.984 kB / 2.353 GB, free: 221.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/5.216, allocations: 4 kB / 2.353 GB, free: 221.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/5.216, allocations: 0 / 2.353 GB, free: 221.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/5.216, allocations: 0 / 2.353 GB, free: 221.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.88e-05/5.216, allocations: 87.67 kB / 2.353 GB, free: 221.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.739e-05/5.216, allocations: 81.02 kB / 2.354 GB, free: 221.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/5.216, allocations: 3.984 kB / 2.354 GB, free: 221.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.313e-05/5.216, allocations: 4 kB / 2.354 GB, free: 221.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.052e-05/5.216, allocations: 0 / 2.354 GB, free: 221.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/5.216, allocations: 4 kB / 2.354 GB, free: 221.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.078e-05/5.216, allocations: 91.25 kB / 2.354 GB, free: 221.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/5.216, allocations: 0 / 2.354 GB, free: 221.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00037/5.216, allocations: 39.98 kB / 2.354 GB, free: 221.5 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.001061/5.218, allocations: 1.138 MB / 2.355 GB, free: 220.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.413e-05/5.218, allocations: 12 kB / 2.355 GB, free: 220.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/5.218, allocations: 4 kB / 2.355 GB, free: 220.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.07e-05/5.218, allocations: 3.938 kB / 2.355 GB, free: 220.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000173/5.218, allocations: 8.781 kB / 2.355 GB, free: 220.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003593/5.218, allocations: 105.8 kB / 2.355 GB, free: 220.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001784/5.218, allocations: 0.6848 MB / 2.356 GB, free: 219.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.724e-05/5.218, allocations: 7.984 kB / 2.356 GB, free: 219.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.632e-05/5.219, allocations: 7.438 kB / 2.356 GB, free: 219.4 MB / 0.6823 GB Notification: Performance of SimCode: time 8.92e-07/5.219, allocations: 0 / 2.356 GB, free: 219.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03516/5.254, allocations: 11.95 MB / 2.367 GB, free: 207.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001825/5.254, allocations: 146.1 kB / 2.367 GB, free: 207.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.23/7.484, allocations: 0 / 2.367 GB, free: 207.3 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)