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.001124/0.001124, 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.001256/0.001256, allocations: 196.7 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.353/1.353, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8742/0.8742, allocations: 135.1 MB / 425.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 59.66 kB / 0.5054 GB, free: 5.199 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1372, allocations: 80.93 MB / 0.5845 GB, free: 4.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.3757/0.5129, allocations: 148.2 MB / 0.7292 GB, free: 1.215 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001245/0.5131, allocations: 69.39 kB / 0.7293 GB, free: 1.172 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.214e-05/0.5131, allocations: 0 / 0.7293 GB, free: 1.172 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 7.782e-05/0.5132, allocations: 2.25 kB / 0.7293 GB, free: 1.172 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.025e-05/0.5133, allocations: 12.75 kB / 0.7293 GB, free: 1.164 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006688/0.514, allocations: 214.8 kB / 0.7295 GB, free: 1.066 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.048e-05/0.514, allocations: 37.81 kB / 0.7296 GB, free: 1.051 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 2.994e-05/0.5141, allocations: 1.625 kB / 0.7296 GB, free: 1.051 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.072e-05/0.5141, allocations: 11.86 kB / 0.7296 GB, free: 1.051 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.845e-05/0.5142, allocations: 20.47 kB / 0.7296 GB, free: 1.039 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.5142, allocations: 1.062 kB / 0.7296 GB, free: 1.039 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004007/0.5146, allocations: 190.7 kB / 0.7298 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.145e-05/0.5147, allocations: 15.33 kB / 0.7298 GB, free: 0.957 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.459e-05/0.5147, allocations: 9.953 kB / 0.7298 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.5149, allocations: 118 kB / 0.7299 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.515, allocations: 4 kB / 0.7299 GB, free: 0.918 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.262e-06/0.515, allocations: 0 / 0.7299 GB, free: 0.918 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.087e-06/0.515, allocations: 1.125 kB / 0.7299 GB, free: 0.918 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.0003384/0.5153, allocations: 340.1 kB / 0.7302 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.5153, allocations: 11.86 kB / 0.7302 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.267e-05/0.5154, allocations: 32.34 kB / 0.7303 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000264/0.5157, allocations: 25.27 kB / 0.7303 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.949e-05/0.5158, allocations: 169.5 kB / 0.7305 GB, free: 324 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.797e-05/0.5158, allocations: 39.47 kB / 0.7305 GB, free: 284 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.562e-06/0.5158, allocations: 1.344 kB / 0.7305 GB, free: 284 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.516, allocations: 46.98 kB / 0.7305 GB, free: 248 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.516, allocations: 0 / 0.7305 GB, free: 248 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.516, allocations: 1.062 kB / 0.7305 GB, free: 248 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.516, allocations: 7.062 kB / 0.7306 GB, free: 244 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.964e-05/0.5161, allocations: 22.53 kB / 0.7306 GB, free: 240 kB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002966/0.5164, allocations: 259.2 kB / 0.7308 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.995e-05/0.5164, allocations: 19.86 kB / 0.7308 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.923e-05/0.5164, allocations: 14.69 kB / 0.7309 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001351/0.5166, allocations: 89.78 kB / 0.7309 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.5166, allocations: 34.5 kB / 0.731 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.5166, allocations: 5.188 kB / 0.731 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0002041/0.5168, allocations: 52.19 kB / 0.731 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.5169, allocations: 51.41 kB / 0.7311 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.352e-05/0.5169, allocations: 106.2 kB / 0.7312 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.517, allocations: 25.7 kB / 0.7312 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.737e-05/0.517, allocations: 91.7 kB / 0.7313 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.141e-06/0.517, allocations: 5.562 kB / 0.7313 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/0.517, allocations: 21.78 kB / 0.7313 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.161e-05/0.5171, allocations: 314.6 kB / 0.7316 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.577e-05/0.5172, allocations: 6.531 kB / 0.7316 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.603e-05/0.5172, allocations: 33.91 kB / 0.7317 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.07e-05/0.5172, allocations: 35.86 kB / 0.7317 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.5172, allocations: 0 / 0.7317 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.677e-05/0.5173, allocations: 50.58 kB / 0.7317 GB, free: 15 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.5173, allocations: 7.781 kB / 0.7317 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.5174, allocations: 3.266 kB / 0.7317 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.5174, allocations: 1.312 kB / 0.7317 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.154e-05/0.5174, allocations: 5.75 kB / 0.7318 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.5174, allocations: 9.031 kB / 0.7318 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.647e-05/0.5175, allocations: 1.062 kB / 0.7318 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.5175, allocations: 6.375 kB / 0.7318 GB, free: 14.99 MB / 0.5606 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 7.005e-05/0.5176, allocations: 115 kB / 0.7319 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.5176, allocations: 5.094 kB / 0.7319 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.578e-05/0.5176, allocations: 4.25 kB / 0.7319 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.5176, allocations: 1.094 kB / 0.7319 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.5176, allocations: 3.938 kB / 0.7319 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.493e-06/0.5176, allocations: 0 / 0.7319 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002537/0.5179, allocations: 372 kB / 0.7322 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.5179, allocations: 6.578 kB / 0.7323 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.539e-05/0.5179, allocations: 2.438 kB / 0.7323 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.5179, allocations: 5 kB / 0.7323 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.5179, allocations: 1.094 kB / 0.7323 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.5179, allocations: 0 / 0.7323 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.518, allocations: 1.156 kB / 0.7323 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.981e-05/0.518, allocations: 78.92 kB / 0.7323 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.995e-05/0.5181, allocations: 82.83 kB / 0.7324 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.5181, allocations: 1.062 kB / 0.7324 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.079e-05/0.5182, allocations: 5.094 kB / 0.7324 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.899e-06/0.5182, allocations: 1.969 kB / 0.7324 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.5182, allocations: 1.062 kB / 0.7324 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.511e-05/0.5182, allocations: 80.62 kB / 0.7325 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5183, allocations: 4.031 kB / 0.7325 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000186/0.5184, allocations: 10.75 kB / 0.7325 GB, free: 14.19 MB / 0.5606 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.0003075/0.5188, allocations: 0.6048 MB / 0.7331 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.816e-05/0.5188, allocations: 20.39 kB / 0.7331 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.5188, allocations: 1.219 kB / 0.7331 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.244e-05/0.5189, allocations: 8.281 kB / 0.7331 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.5191, allocations: 8.172 kB / 0.7331 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003206/0.5194, allocations: 154.2 kB / 0.7333 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001901/0.5196, allocations: 0.6769 MB / 0.734 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.349e-05/0.5197, allocations: 6.547 kB / 0.734 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.154e-05/0.5197, allocations: 12.34 kB / 0.734 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of SimCode: time 2.1e-07/0.5197, allocations: 0 / 0.734 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.296/1.815, allocations: 1.422 MB / 0.7354 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/12.16, allocations: 6.422 kB / 0.7354 GB, free: 12.36 MB / 0.5606 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/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)