Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",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.0009003/0.0009003, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005827/0.005827, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.41/1.41, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9227/0.9227, allocations: 135.3 MB / 426.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003347/0.0003347, allocations: 8 kB / 0.5077 GB, free: 4.633 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1781, allocations: 82.31 MB / 0.5881 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.45/0.6282, allocations: 143.7 MB / 0.7284 GB, free: 3.387 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001223/0.6283, allocations: 51.66 kB / 0.7285 GB, free: 3.355 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.012e-05/0.6284, allocations: 0 / 0.7285 GB, free: 3.355 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.6285, allocations: 6.234 kB / 0.7285 GB, free: 3.352 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.996e-05/0.6286, allocations: 11.25 kB / 0.7285 GB, free: 3.348 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004446/0.629, allocations: 104.7 kB / 0.7286 GB, free: 3.301 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.6291, allocations: 57.47 kB / 0.7286 GB, free: 3.285 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.073e-05/0.6292, allocations: 1.219 kB / 0.7286 GB, free: 3.285 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.202e-05/0.6292, allocations: 15.33 kB / 0.7286 GB, free: 3.281 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.925e-05/0.6293, allocations: 18.34 kB / 0.7287 GB, free: 3.273 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.6293, allocations: 1.344 kB / 0.7287 GB, free: 3.273 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002504/0.6296, allocations: 80.56 kB / 0.7287 GB, free: 3.242 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.196e-05/0.6296, allocations: 6.094 kB / 0.7287 GB, free: 3.242 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.648e-05/0.6297, allocations: 40.8 kB / 0.7288 GB, free: 3.203 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.6299, allocations: 72.61 kB / 0.7289 GB, free: 3.188 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.6299, allocations: 4 kB / 0.7289 GB, free: 3.184 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.014e-06/0.6299, allocations: 1.5 kB / 0.7289 GB, free: 3.184 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.6299, allocations: 0 / 0.7289 GB, free: 3.184 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.0003499/0.6303, allocations: 335.9 kB / 0.7292 GB, free: 2.824 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.6303, allocations: 9.422 kB / 0.7292 GB, free: 2.824 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.939e-05/0.6303, allocations: 32.75 kB / 0.7292 GB, free: 2.785 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002114/0.6306, allocations: 19.12 kB / 0.7292 GB, free: 2.785 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.6307, allocations: 167 kB / 0.7294 GB, free: 2.586 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.272e-05/0.6307, allocations: 36.44 kB / 0.7294 GB, free: 2.551 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.6308, allocations: 1.25 kB / 0.7294 GB, free: 2.551 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.6309, allocations: 55 kB / 0.7295 GB, free: 2.508 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.6309, allocations: 5.594 kB / 0.7295 GB, free: 2.504 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.6309, allocations: 0 / 0.7295 GB, free: 2.504 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/0.631, allocations: 2.781 kB / 0.7295 GB, free: 2.504 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.409e-05/0.631, allocations: 18.77 kB / 0.7295 GB, free: 2.5 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003658/0.6314, allocations: 264.7 kB / 0.7298 GB, free: 2.219 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.974e-05/0.6314, allocations: 16.84 kB / 0.7298 GB, free: 2.195 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.982e-05/0.6315, allocations: 9.891 kB / 0.7298 GB, free: 2.184 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.17e-06/0.6315, allocations: 1.25 kB / 0.7298 GB, free: 2.184 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.6315, allocations: 40.33 kB / 0.7298 GB, free: 2.137 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.6315, allocations: 0 / 0.7298 GB, free: 2.137 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001272/0.6316, allocations: 36.11 kB / 0.7299 GB, free: 2.102 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.6317, allocations: 56.05 kB / 0.7299 GB, free: 2.035 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.496e-05/0.6318, allocations: 104.8 kB / 0.73 GB, free: 1.934 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.6318, allocations: 27.14 kB / 0.73 GB, free: 1.902 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.145e-05/0.6319, allocations: 94.77 kB / 0.7301 GB, free: 1.809 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.021e-06/0.6319, allocations: 3.906 kB / 0.7301 GB, free: 1.805 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.463e-05/0.6319, allocations: 11.38 kB / 0.7301 GB, free: 1.789 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.632, allocations: 317.9 kB / 0.7305 GB, free: 1.473 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.942e-05/0.632, allocations: 7.859 kB / 0.7305 GB, free: 1.469 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.391e-05/0.6321, allocations: 24.84 kB / 0.7305 GB, free: 1.441 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.062e-05/0.6321, allocations: 27.8 kB / 0.7305 GB, free: 1.414 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.6321, allocations: 5.125 kB / 0.7305 GB, free: 1.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.233e-05/0.6322, allocations: 52.7 kB / 0.7306 GB, free: 1.371 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.6323, allocations: 5.641 kB / 0.7306 GB, free: 1.371 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.6323, allocations: 1.875 kB / 0.7306 GB, free: 1.371 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.6323, allocations: 1.531 kB / 0.7306 GB, free: 1.371 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.274e-05/0.6323, allocations: 9.422 kB / 0.7306 GB, free: 1.367 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.6324, allocations: 6.359 kB / 0.7306 GB, free: 1.363 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.651e-05/0.6324, allocations: 1.312 kB / 0.7306 GB, free: 1.363 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.6324, allocations: 1.938 kB / 0.7306 GB, free: 1.363 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.064e-05/0.6325, allocations: 117.6 kB / 0.7307 GB, free: 1.242 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.6325, allocations: 1.469 kB / 0.7307 GB, free: 1.242 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.229e-05/0.6326, allocations: 5 kB / 0.7307 GB, free: 1.242 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.6326, allocations: 3.938 kB / 0.7307 GB, free: 1.238 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.6326, allocations: 5.797 kB / 0.7307 GB, free: 1.234 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.6326, allocations: 0 / 0.7307 GB, free: 1.234 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002536/0.6328, allocations: 339.8 kB / 0.731 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.6329, allocations: 9.344 kB / 0.7311 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.299e-05/0.6329, allocations: 1.375 kB / 0.7311 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.6329, allocations: 5.859 kB / 0.7311 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.6329, allocations: 0 / 0.7311 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.6329, allocations: 1.875 kB / 0.7311 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.6329, allocations: 1.062 kB / 0.7311 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.087e-05/0.633, allocations: 65.42 kB / 0.7311 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.982e-05/0.633, allocations: 82.84 kB / 0.7312 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.6331, allocations: 5.75 kB / 0.7312 GB, free: 0.668 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.614e-05/0.6331, allocations: 9.531 kB / 0.7312 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.536e-05/0.6332, allocations: 0.6562 kB / 0.7312 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.6332, allocations: 1.438 kB / 0.7312 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.714e-05/0.6332, allocations: 85.38 kB / 0.7313 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6332, allocations: 0 / 0.7313 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001855/0.6334, allocations: 6.875 kB / 0.7313 GB, free: 0.5859 MB / 0.545 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 () * Number of clocked 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 (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.0003345/0.6338, allocations: 0.5993 MB / 0.7319 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.476e-05/0.6338, allocations: 18.55 kB / 0.7319 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6339, allocations: 0 / 0.7319 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.163e-06/0.6339, allocations: 2.672 kB / 0.7319 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.6341, allocations: 5.844 kB / 0.7319 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003387/0.6344, allocations: 156.9 kB / 0.7321 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.6347, allocations: 0.676 MB / 0.7327 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.342e-05/0.6347, allocations: 13.23 kB / 0.7327 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.051e-05/0.6348, allocations: 14.2 kB / 0.7328 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.6348, allocations: 0 / 0.7328 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09923/0.734, allocations: 1.152 MB / 0.7339 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002096/0.7343, allocations: 227 kB / 0.7341 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.66/2.394, allocations: 0.9688 kB / 0.7341 GB, free: 14.77 MB / 0.5606 GB (rm -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)