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.001174/0.001174, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 197 kB / 16.53 MB, free: 6.664 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.357/1.357, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7857/0.7857, allocations: 132.2 MB / 422.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 59.69 kB / 0.5019 GB, free: 8.688 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1633, allocations: 80.2 MB / 0.5802 GB, free: 8.703 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4526/0.616, allocations: 148.3 MB / 0.725 GB, free: 6.031 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001376/0.6161, allocations: 59.44 kB / 0.725 GB, free: 5.996 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.869e-05/0.6162, allocations: 1.125 kB / 0.725 GB, free: 5.996 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.486e-05/0.6163, allocations: 0 / 0.725 GB, free: 5.996 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.039e-05/0.6164, allocations: 14.95 kB / 0.725 GB, free: 5.992 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007555/0.6172, allocations: 219.3 kB / 0.7253 GB, free: 5.891 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.419e-05/0.6172, allocations: 33.67 kB / 0.7253 GB, free: 5.879 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.394e-05/0.6173, allocations: 2.781 kB / 0.7253 GB, free: 5.879 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.268e-05/0.6173, allocations: 22.86 kB / 0.7253 GB, free: 5.867 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.701e-05/0.6174, allocations: 8.453 kB / 0.7253 GB, free: 5.867 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.6174, allocations: 1.125 kB / 0.7253 GB, free: 5.867 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004406/0.6179, allocations: 194.9 kB / 0.7255 GB, free: 5.789 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.328e-05/0.6179, allocations: 9.922 kB / 0.7255 GB, free: 5.785 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.896e-05/0.618, allocations: 10.8 kB / 0.7255 GB, free: 5.781 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002569/0.6182, allocations: 115.3 kB / 0.7256 GB, free: 5.75 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.6182, allocations: 5.094 kB / 0.7256 GB, free: 5.746 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6182, allocations: 0 / 0.7256 GB, free: 5.746 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.6183, allocations: 0 / 0.7256 GB, free: 5.746 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.0003889/0.6186, allocations: 347 kB / 0.726 GB, free: 5.383 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.6187, allocations: 9.656 kB / 0.726 GB, free: 5.383 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.259e-05/0.6187, allocations: 31.55 kB / 0.726 GB, free: 5.344 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003034/0.619, allocations: 29.41 kB / 0.726 GB, free: 5.34 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.6191, allocations: 162.9 kB / 0.7262 GB, free: 5.145 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.933e-05/0.6192, allocations: 35.45 kB / 0.7262 GB, free: 5.105 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.809e-06/0.6192, allocations: 1.188 kB / 0.7262 GB, free: 5.105 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.6194, allocations: 54.25 kB / 0.7263 GB, free: 5.066 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.6194, allocations: 1.438 kB / 0.7263 GB, free: 5.066 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.6194, allocations: 0 / 0.7263 GB, free: 5.066 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.6194, allocations: 1.594 kB / 0.7263 GB, free: 5.066 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.269e-05/0.6195, allocations: 25.72 kB / 0.7263 GB, free: 5.059 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003201/0.6198, allocations: 261.7 kB / 0.7266 GB, free: 4.781 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.989e-05/0.6199, allocations: 21.77 kB / 0.7266 GB, free: 4.758 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.086e-05/0.6199, allocations: 12.33 kB / 0.7266 GB, free: 4.746 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001477/0.6201, allocations: 89.28 kB / 0.7267 GB, free: 4.652 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.6201, allocations: 36.72 kB / 0.7267 GB, free: 4.609 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.6201, allocations: 1.125 kB / 0.7267 GB, free: 4.609 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002192/0.6203, allocations: 52.36 kB / 0.7268 GB, free: 4.57 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.6204, allocations: 52.2 kB / 0.7268 GB, free: 4.508 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.897e-05/0.6204, allocations: 105.6 kB / 0.7269 GB, free: 4.402 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.6205, allocations: 27.86 kB / 0.7269 GB, free: 4.371 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/0.6205, allocations: 94.12 kB / 0.727 GB, free: 4.277 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.186e-06/0.6205, allocations: 8.562 kB / 0.727 GB, free: 4.27 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.853e-05/0.6205, allocations: 18.92 kB / 0.7271 GB, free: 4.25 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.651e-05/0.6206, allocations: 313.2 kB / 0.7274 GB, free: 3.938 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.793e-05/0.6207, allocations: 7 kB / 0.7274 GB, free: 3.934 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.762e-05/0.6207, allocations: 22.27 kB / 0.7274 GB, free: 3.91 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.336e-05/0.6207, allocations: 36.19 kB / 0.7274 GB, free: 3.875 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.6207, allocations: 2.062 kB / 0.7274 GB, free: 3.875 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.921e-05/0.6208, allocations: 53.88 kB / 0.7275 GB, free: 3.836 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.6209, allocations: 5.125 kB / 0.7275 GB, free: 3.836 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.6209, allocations: 0.8438 kB / 0.7275 GB, free: 3.836 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.6209, allocations: 1.469 kB / 0.7275 GB, free: 3.836 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.696e-05/0.6209, allocations: 11.38 kB / 0.7275 GB, free: 3.832 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.621, allocations: 4.688 kB / 0.7275 GB, free: 3.828 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.724e-05/0.621, allocations: 1.906 kB / 0.7275 GB, free: 3.828 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.621, allocations: 9.656 kB / 0.7275 GB, free: 3.82 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 6.999e-05/0.6211, allocations: 112.7 kB / 0.7276 GB, free: 3.703 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.028e-05/0.6211, allocations: 6.641 kB / 0.7276 GB, free: 3.699 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.929e-05/0.6211, allocations: 9.156 kB / 0.7276 GB, free: 3.695 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.6211, allocations: 0 / 0.7276 GB, free: 3.695 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.6211, allocations: 4.547 kB / 0.7276 GB, free: 3.691 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.6212, allocations: 0.875 kB / 0.7276 GB, free: 3.691 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002665/0.6214, allocations: 360.5 kB / 0.728 GB, free: 3.297 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.6214, allocations: 1.688 kB / 0.728 GB, free: 3.297 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.721e-05/0.6215, allocations: 4.719 kB / 0.728 GB, free: 3.297 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.6215, allocations: 3.938 kB / 0.728 GB, free: 3.293 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.6215, allocations: 1.125 kB / 0.728 GB, free: 3.293 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.6215, allocations: 1.781 kB / 0.728 GB, free: 3.293 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.6215, allocations: 0 / 0.728 GB, free: 3.293 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.583e-05/0.6216, allocations: 78.91 kB / 0.7281 GB, free: 3.207 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.644e-05/0.6216, allocations: 83.81 kB / 0.7281 GB, free: 3.109 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.6217, allocations: 1.625 kB / 0.7281 GB, free: 3.109 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.496e-05/0.6217, allocations: 7.484 kB / 0.7281 GB, free: 3.105 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.195e-05/0.6218, allocations: 1.891 kB / 0.7281 GB, free: 3.105 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.634e-06/0.6218, allocations: 1.156 kB / 0.7282 GB, free: 3.105 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.212e-05/0.6218, allocations: 81.14 kB / 0.7282 GB, free: 3.031 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6218, allocations: 7.969 kB / 0.7282 GB, free: 3.023 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001911/0.622, allocations: 10.97 kB / 0.7282 GB, free: 3.02 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 (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.0003153/0.6223, allocations: 0.6114 MB / 0.7288 GB, free: 2.41 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.891e-05/0.6224, allocations: 19.67 kB / 0.7289 GB, free: 2.402 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6224, allocations: 1.312 kB / 0.7289 GB, free: 2.402 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.037e-05/0.6224, allocations: 4.531 kB / 0.7289 GB, free: 2.402 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.6227, allocations: 7.562 kB / 0.7289 GB, free: 2.398 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003483/0.623, allocations: 160.3 kB / 0.729 GB, free: 2.238 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000196/0.6232, allocations: 0.675 MB / 0.7297 GB, free: 1.543 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.487e-05/0.6233, allocations: 6.234 kB / 0.7297 GB, free: 1.543 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.859e-05/0.6233, allocations: 9.328 kB / 0.7297 GB, free: 1.539 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.6233, allocations: 0 / 0.7297 GB, free: 1.539 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02431/0.6476, allocations: 1.421 MB / 0.7311 GB, free: 1.199 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.766/10.41, allocations: 7.219 kB / 0.7311 GB, free: 1.195 MB / 0.545 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)