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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007598/0.007598, allocations: 102.3 kB / 15.73 MB, free: 6.012 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.001843/0.001843, allocations: 194.5 kB / 16.67 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.016 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7704/0.7704, allocations: 132.2 MB / 422.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 63.89 kB / 0.5808 GB, free: 8.062 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4935/0.4951, allocations: 80.2 MB / 0.6592 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1763/0.6715, allocations: 148.3 MB / 0.804 GB, free: 1.383 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0001596/0.6717, allocations: 63.84 kB / 0.804 GB, free: 1.32 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.956e-05/0.6718, allocations: 0 / 0.804 GB, free: 1.32 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.6719, allocations: 0 / 0.804 GB, free: 1.32 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 8.419e-05/0.672, allocations: 7.922 kB / 0.804 GB, free: 1.312 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008835/0.6729, allocations: 219.1 kB / 0.8042 GB, free: 1.098 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 9.644e-05/0.673, allocations: 31.92 kB / 0.8043 GB, free: 1.066 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.443e-05/0.6731, allocations: 4 kB / 0.8043 GB, free: 1.062 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 4.756e-05/0.6731, allocations: 19.91 kB / 0.8043 GB, free: 1.043 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 7.739e-05/0.6732, allocations: 11.94 kB / 0.8043 GB, free: 1.031 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.6732, allocations: 4 kB / 0.8043 GB, free: 1.027 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005001/0.6737, allocations: 191.4 kB / 0.8045 GB, free: 0.8398 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 4.961e-05/0.6738, allocations: 8 kB / 0.8045 GB, free: 0.832 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 3.915e-05/0.6738, allocations: 15.91 kB / 0.8045 GB, free: 0.8164 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0003066/0.6742, allocations: 118 kB / 0.8046 GB, free: 0.7031 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.6742, allocations: 0 / 0.8046 GB, free: 0.7031 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.144e-06/0.6742, allocations: 4 kB / 0.8046 GB, free: 0.6992 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.6742, allocations: 0 / 0.8046 GB, free: 0.6992 MB / 0.6231 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.0004678/0.6747, allocations: 339.5 kB / 0.805 GB, free: 328 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.6747, allocations: 8.031 kB / 0.805 GB, free: 320 kB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.741e-05/0.6748, allocations: 34.73 kB / 0.805 GB, free: 276 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003426/0.6751, allocations: 20.92 kB / 0.805 GB, free: 256 kB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.6753, allocations: 176 kB / 0.8052 GB, free: 40 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.244e-05/0.6754, allocations: 37.78 kB / 0.8052 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.6754, allocations: 0 / 0.8052 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.6756, allocations: 53.61 kB / 0.8053 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.6756, allocations: 0 / 0.8053 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.6756, allocations: 0 / 0.8053 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.6756, allocations: 4 kB / 0.8053 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.48e-05/0.6757, allocations: 19.98 kB / 0.8053 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003995/0.6761, allocations: 260.9 kB / 0.8055 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 5.479e-05/0.6761, allocations: 18.58 kB / 0.8056 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.176e-05/0.6762, allocations: 8.922 kB / 0.8056 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001618/0.6763, allocations: 97.03 kB / 0.8057 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.6764, allocations: 34.56 kB / 0.8057 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.6764, allocations: 4 kB / 0.8057 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2): time 0.0002602/0.6767, allocations: 45.69 kB / 0.8057 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.6767, allocations: 59.34 kB / 0.8058 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.367e-05/0.6768, allocations: 101.8 kB / 0.8059 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.6768, allocations: 29.64 kB / 0.8059 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.827e-05/0.6769, allocations: 87.98 kB / 0.806 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.394e-06/0.6769, allocations: 7.906 kB / 0.806 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/0.677, allocations: 21.84 kB / 0.806 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.6771, allocations: 318.8 kB / 0.8063 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.46e-05/0.6771, allocations: 8 kB / 0.8063 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.599e-05/0.6771, allocations: 22.52 kB / 0.8064 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.328e-05/0.6772, allocations: 34.56 kB / 0.8064 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.6772, allocations: 3.938 kB / 0.8064 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.447e-05/0.6773, allocations: 49.64 kB / 0.8065 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.6773, allocations: 11.98 kB / 0.8065 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.6773, allocations: 0 / 0.8065 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.6774, allocations: 0 / 0.8065 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.254e-05/0.6774, allocations: 11.94 kB / 0.8065 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.6774, allocations: 3.938 kB / 0.8065 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.984e-05/0.6775, allocations: 3.906 kB / 0.8065 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.6775, allocations: 8.094 kB / 0.8065 GB, free: 14.52 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.333e-05/0.6776, allocations: 110.7 kB / 0.8066 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.956e-05/0.6776, allocations: 4.281 kB / 0.8066 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.611e-05/0.6776, allocations: 7.109 kB / 0.8066 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.6776, allocations: 3.984 kB / 0.8066 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.6777, allocations: 7.938 kB / 0.8066 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.6777, allocations: 0 / 0.8066 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003058/0.678, allocations: 363.6 kB / 0.807 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.678, allocations: 0 / 0.807 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.002e-05/0.678, allocations: 7.922 kB / 0.807 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.678, allocations: 4 kB / 0.807 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.678, allocations: 0 / 0.807 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.6781, allocations: 0 / 0.807 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.6781, allocations: 0 / 0.807 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.606e-05/0.6782, allocations: 78 kB / 0.8071 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 4.747e-05/0.6782, allocations: 88.94 kB / 0.8071 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.6782, allocations: 0 / 0.8071 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.134e-05/0.6783, allocations: 4 kB / 0.8071 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.114e-05/0.6783, allocations: 0 / 0.8071 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.6783, allocations: 4 kB / 0.8071 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.097e-05/0.6784, allocations: 87.2 kB / 0.8072 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6784, allocations: 0 / 0.8072 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0001951/0.6786, allocations: 8.031 kB / 0.8072 GB, free: 13.64 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003838/0.679, allocations: 0.6093 MB / 0.8078 GB, free: 13 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 9.122e-05/0.6791, allocations: 20.03 kB / 0.8079 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.6791, allocations: 0 / 0.8079 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-05/0.6791, allocations: 7.938 kB / 0.8079 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.6794, allocations: 14.58 kB / 0.8079 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004071/0.6798, allocations: 145.2 kB / 0.808 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/0.6801, allocations: 0.6848 MB / 0.8087 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 4.814e-05/0.6802, allocations: 4 kB / 0.8087 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.6803, allocations: 11.44 kB / 0.8087 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of SimCode: time 2.71e-07/0.6803, allocations: 0 / 0.8087 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01956/0.6999, allocations: 1.459 MB / 0.8101 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.346/8.046, allocations: 0.6562 kB / 0.8101 GB, free: 10.71 MB / 0.6387 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/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)