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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009224/0.0009227, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001207/0.001207, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 223.2 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9858/0.9858, allocations: 135.3 MB / 426.3 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003886/0.0003886, allocations: 8.219 kB / 0.5071 GB, free: 5.027 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1889, allocations: 82.32 MB / 0.5875 GB, free: 2.887 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5172/0.7062, allocations: 134.4 MB / 0.7187 GB, free: 11.87 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001532/0.7064, allocations: 48.19 kB / 0.7188 GB, free: 11.84 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.56e-05/0.7065, allocations: 1.531 kB / 0.7188 GB, free: 11.84 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.7066, allocations: 8.578 kB / 0.7188 GB, free: 11.84 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.442e-05/0.7067, allocations: 10.31 kB / 0.7188 GB, free: 11.83 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007834/0.7075, allocations: 153.1 kB / 0.719 GB, free: 11.76 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.7076, allocations: 42.55 kB / 0.719 GB, free: 11.75 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.391e-05/0.7077, allocations: 2.094 kB / 0.719 GB, free: 11.75 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.965e-05/0.7077, allocations: 19.67 kB / 0.719 GB, free: 11.74 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.756e-05/0.7078, allocations: 18.53 kB / 0.719 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.7079, allocations: 3.938 kB / 0.719 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004471/0.7083, allocations: 96.3 kB / 0.7191 GB, free: 11.7 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.761e-05/0.7084, allocations: 9.266 kB / 0.7191 GB, free: 11.7 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.591e-05/0.7084, allocations: 28.55 kB / 0.7192 GB, free: 11.66 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.7086, allocations: 55.47 kB / 0.7192 GB, free: 11.65 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.7086, allocations: 0 / 0.7192 GB, free: 11.65 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7087, allocations: 1.094 kB / 0.7192 GB, free: 11.65 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.7087, allocations: 0 / 0.7192 GB, free: 11.65 MB / 0.545 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.0004502/0.7091, allocations: 341.5 kB / 0.7195 GB, free: 11.29 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.7092, allocations: 9.188 kB / 0.7196 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.123e-05/0.7092, allocations: 36.52 kB / 0.7196 GB, free: 11.25 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003694/0.7096, allocations: 26.91 kB / 0.7196 GB, free: 11.25 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.7098, allocations: 159.9 kB / 0.7198 GB, free: 11.05 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.859e-05/0.7098, allocations: 28.86 kB / 0.7198 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.7099, allocations: 7.75 kB / 0.7198 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.71, allocations: 53.8 kB / 0.7199 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.7101, allocations: 0 / 0.7199 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.7101, allocations: 0 / 0.7199 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.169e-05/0.7101, allocations: 6.562 kB / 0.7199 GB, free: 10.97 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.4e-05/0.7102, allocations: 28.55 kB / 0.7199 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000406/0.7106, allocations: 257 kB / 0.7201 GB, free: 10.69 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.7107, allocations: 24.28 kB / 0.7202 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.129e-05/0.7107, allocations: 12.98 kB / 0.7202 GB, free: 10.65 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001688/0.7109, allocations: 91.61 kB / 0.7203 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.7109, allocations: 36.44 kB / 0.7203 GB, free: 10.51 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.422e-06/0.711, allocations: 0 / 0.7203 GB, free: 10.51 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002647/0.7112, allocations: 54.55 kB / 0.7203 GB, free: 10.47 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.879e-05/0.7113, allocations: 61.53 kB / 0.7204 GB, free: 10.4 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.202e-05/0.7114, allocations: 97.98 kB / 0.7205 GB, free: 10.3 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.7114, allocations: 26.83 kB / 0.7205 GB, free: 10.27 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.7115, allocations: 93.92 kB / 0.7206 GB, free: 10.18 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.123e-06/0.7116, allocations: 1.938 kB / 0.7206 GB, free: 10.18 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/0.7116, allocations: 0 / 0.7206 GB, free: 10.18 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002146/0.7118, allocations: 316.6 kB / 0.7209 GB, free: 9.859 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.006e-05/0.7118, allocations: 7.812 kB / 0.7209 GB, free: 9.855 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.451e-05/0.7119, allocations: 26.38 kB / 0.7209 GB, free: 9.828 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.826e-05/0.7119, allocations: 9.906 kB / 0.721 GB, free: 9.824 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.7119, allocations: 3.938 kB / 0.721 GB, free: 9.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.54e-05/0.712, allocations: 55.91 kB / 0.721 GB, free: 9.777 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.712, allocations: 5.375 kB / 0.721 GB, free: 9.777 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.712, allocations: 1.812 kB / 0.721 GB, free: 9.777 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.7121, allocations: 9.359 kB / 0.721 GB, free: 9.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.117e-05/0.7121, allocations: 6.453 kB / 0.721 GB, free: 9.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.7121, allocations: 1.375 kB / 0.721 GB, free: 9.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.068e-05/0.7122, allocations: 1.984 kB / 0.721 GB, free: 9.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.473e-06/0.7122, allocations: 5.5 kB / 0.721 GB, free: 9.77 MB / 0.545 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 0.0001408/0.7123, allocations: 108.1 kB / 0.7211 GB, free: 9.656 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.7124, allocations: 1.406 kB / 0.7211 GB, free: 9.656 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.306e-05/0.7124, allocations: 9.203 kB / 0.7212 GB, free: 9.652 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.7124, allocations: 2.031 kB / 0.7212 GB, free: 9.652 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.7124, allocations: 7.953 kB / 0.7212 GB, free: 9.645 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.7124, allocations: 0 / 0.7212 GB, free: 9.645 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003403/0.7128, allocations: 360.3 kB / 0.7215 GB, free: 9.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.7128, allocations: 0.7969 kB / 0.7215 GB, free: 9.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.58e-05/0.7128, allocations: 2.938 kB / 0.7215 GB, free: 9.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.7128, allocations: 4.953 kB / 0.7215 GB, free: 9.246 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.7128, allocations: 5.812 kB / 0.7215 GB, free: 9.242 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.7128, allocations: 5.656 kB / 0.7215 GB, free: 9.238 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.7129, allocations: 0 / 0.7215 GB, free: 9.238 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.128e-05/0.713, allocations: 74.62 kB / 0.7216 GB, free: 9.156 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.672e-05/0.713, allocations: 79.08 kB / 0.7217 GB, free: 9.062 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.713, allocations: 5.922 kB / 0.7217 GB, free: 9.059 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.106e-05/0.7131, allocations: 4.562 kB / 0.7217 GB, free: 9.059 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.676e-05/0.7131, allocations: 7.062 kB / 0.7217 GB, free: 9.055 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.7132, allocations: 1.094 kB / 0.7217 GB, free: 9.055 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.567e-05/0.7132, allocations: 83.64 kB / 0.7218 GB, free: 8.977 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7132, allocations: 1.531 kB / 0.7218 GB, free: 8.977 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002397/0.7135, allocations: 6.156 kB / 0.7218 GB, free: 8.977 MB / 0.545 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.0004064/0.7139, allocations: 0.6087 MB / 0.7224 GB, free: 8.367 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.524e-05/0.714, allocations: 11.8 kB / 0.7224 GB, free: 8.367 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.714, allocations: 3.938 kB / 0.7224 GB, free: 8.363 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.184e-05/0.714, allocations: 4.281 kB / 0.7224 GB, free: 8.363 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.7143, allocations: 24.95 kB / 0.7224 GB, free: 8.344 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004964/0.7148, allocations: 160.7 kB / 0.7226 GB, free: 8.184 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.7151, allocations: 0.6765 MB / 0.7232 GB, free: 7.488 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.222e-05/0.7152, allocations: 14.77 kB / 0.7232 GB, free: 7.48 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.621e-05/0.7152, allocations: 9.281 kB / 0.7233 GB, free: 7.473 MB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/0.7152, allocations: 3.938 kB / 0.7233 GB, free: 7.469 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01215/0.7274, allocations: 1.224 MB / 0.7244 GB, free: 7.352 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001806/0.7276, allocations: 186.6 kB / 0.7246 GB, free: 7.109 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.669/2.396, allocations: 0 / 0.7246 GB, free: 7.109 MB / 0.545 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) Environment - environmentSimulation: