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.0009882/0.0009883, allocations: 90.75 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.007719/0.007719, allocations: 172.7 kB / 16.26 MB, free: 6.676 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.408/1.408, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9744/0.9744, allocations: 135.3 MB / 426.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003637/0.0003637, allocations: 11.98 kB / 0.5077 GB, free: 4.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2015, allocations: 82.31 MB / 0.5881 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5109/0.7124, allocations: 144.1 MB / 0.7288 GB, free: 3.172 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001153/0.7125, allocations: 48.95 kB / 0.7289 GB, free: 3.145 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.839e-05/0.7126, allocations: 1.219 kB / 0.7289 GB, free: 3.145 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.82e-05/0.7127, allocations: 1.125 kB / 0.7289 GB, free: 3.145 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.602e-05/0.7128, allocations: 15.22 kB / 0.7289 GB, free: 3.137 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007764/0.7135, allocations: 200.4 kB / 0.7291 GB, free: 3.051 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.7137, allocations: 61.84 kB / 0.7291 GB, free: 3.031 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.618e-05/0.7137, allocations: 1.688 kB / 0.7291 GB, free: 3.031 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.895e-05/0.7138, allocations: 14.31 kB / 0.7292 GB, free: 3.027 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.08e-05/0.7138, allocations: 18.77 kB / 0.7292 GB, free: 3.02 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.7138, allocations: 0.9688 kB / 0.7292 GB, free: 3.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005043/0.7144, allocations: 231.3 kB / 0.7294 GB, free: 2.93 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.657e-05/0.7144, allocations: 5.734 kB / 0.7294 GB, free: 2.93 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.773e-05/0.7145, allocations: 40.75 kB / 0.7294 GB, free: 2.891 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003187/0.7148, allocations: 124 kB / 0.7296 GB, free: 2.859 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.7148, allocations: 1.875 kB / 0.7296 GB, free: 2.859 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.128e-06/0.7148, allocations: 0 / 0.7296 GB, free: 2.859 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.7148, allocations: 3.938 kB / 0.7296 GB, free: 2.855 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.0003691/0.7152, allocations: 336.1 kB / 0.7299 GB, free: 2.496 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.7153, allocations: 13.62 kB / 0.7299 GB, free: 2.492 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.473e-05/0.7153, allocations: 32.09 kB / 0.7299 GB, free: 2.453 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003187/0.7156, allocations: 29.19 kB / 0.73 GB, free: 2.449 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.7158, allocations: 167 kB / 0.7301 GB, free: 2.25 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.087e-05/0.7158, allocations: 31.72 kB / 0.7301 GB, free: 2.215 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-06/0.7158, allocations: 1.875 kB / 0.7301 GB, free: 2.215 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.716, allocations: 51.95 kB / 0.7302 GB, free: 2.176 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.716, allocations: 2.031 kB / 0.7302 GB, free: 2.176 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.716, allocations: 4 kB / 0.7302 GB, free: 2.172 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.716, allocations: 3.094 kB / 0.7302 GB, free: 2.172 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.775e-05/0.7161, allocations: 28.05 kB / 0.7302 GB, free: 2.16 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003363/0.7164, allocations: 260.2 kB / 0.7305 GB, free: 1.887 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.454e-05/0.7165, allocations: 20.16 kB / 0.7305 GB, free: 1.863 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.566e-05/0.7165, allocations: 17.12 kB / 0.7305 GB, free: 1.848 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001524/0.7167, allocations: 90.55 kB / 0.7306 GB, free: 1.754 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.7167, allocations: 32.41 kB / 0.7306 GB, free: 1.715 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.7167, allocations: 0 / 0.7306 GB, free: 1.715 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002391/0.717, allocations: 55.34 kB / 0.7307 GB, free: 1.672 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.717, allocations: 56.12 kB / 0.7307 GB, free: 1.605 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.458e-05/0.7171, allocations: 111 kB / 0.7308 GB, free: 1.496 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.7171, allocations: 25.7 kB / 0.7309 GB, free: 1.465 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.996e-05/0.7172, allocations: 90.28 kB / 0.731 GB, free: 1.375 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.645e-06/0.7172, allocations: 6.031 kB / 0.731 GB, free: 1.371 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.312e-05/0.7172, allocations: 11.58 kB / 0.731 GB, free: 1.355 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.804e-05/0.7173, allocations: 313.7 kB / 0.7313 GB, free: 1.043 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.668e-05/0.7174, allocations: 3.609 kB / 0.7313 GB, free: 1.043 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.279e-05/0.7174, allocations: 29.41 kB / 0.7313 GB, free: 1.012 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.817e-05/0.7175, allocations: 31.97 kB / 0.7313 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.7175, allocations: 0.7969 kB / 0.7313 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.788e-05/0.7176, allocations: 56.97 kB / 0.7314 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.7176, allocations: 5.938 kB / 0.7314 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.7176, allocations: 5.094 kB / 0.7314 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.7176, allocations: 1.125 kB / 0.7314 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.541e-05/0.7177, allocations: 6.844 kB / 0.7314 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.7177, allocations: 5.125 kB / 0.7314 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.83e-05/0.7177, allocations: 1.656 kB / 0.7314 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.7177, allocations: 2.188 kB / 0.7314 GB, free: 0.9297 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 7.484e-05/0.7178, allocations: 116.8 kB / 0.7315 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.7178, allocations: 1.828 kB / 0.7315 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.121e-05/0.7179, allocations: 4.875 kB / 0.7315 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.7179, allocations: 5.281 kB / 0.7315 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.7179, allocations: 6.625 kB / 0.7315 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.7179, allocations: 0.6562 kB / 0.7315 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002843/0.7182, allocations: 360 kB / 0.7319 GB, free: 416 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.7182, allocations: 1 kB / 0.7319 GB, free: 416 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.672e-05/0.7182, allocations: 4.094 kB / 0.7319 GB, free: 416 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.7182, allocations: 3.938 kB / 0.7319 GB, free: 412 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.7182, allocations: 5.156 kB / 0.7319 GB, free: 408 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.7183, allocations: 1.766 kB / 0.7319 GB, free: 408 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.7183, allocations: 1.031 kB / 0.7319 GB, free: 408 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.069e-05/0.7183, allocations: 71.45 kB / 0.732 GB, free: 328 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.638e-05/0.7184, allocations: 82.7 kB / 0.7321 GB, free: 228 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.7184, allocations: 10.08 kB / 0.7321 GB, free: 220 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.7185, allocations: 8.812 kB / 0.7321 GB, free: 216 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.606e-05/0.7185, allocations: 5.609 kB / 0.7321 GB, free: 212 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.7186, allocations: 1.375 kB / 0.7321 GB, free: 212 kB / 0.545 GB Notification: Performance of sorting global known variables: time 4.207e-05/0.7186, allocations: 80.59 kB / 0.7322 GB, free: 136 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7186, allocations: 0.9688 kB / 0.7322 GB, free: 136 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.000198/0.7188, allocations: 6.812 kB / 0.7322 GB, free: 136 kB / 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.0003683/0.7192, allocations: 0.6102 MB / 0.7328 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.292e-05/0.7193, allocations: 19.31 kB / 0.7328 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.7193, allocations: 1.188 kB / 0.7328 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.061e-05/0.7193, allocations: 3.281 kB / 0.7328 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.7195, allocations: 14.09 kB / 0.7328 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003778/0.7199, allocations: 164.3 kB / 0.7329 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.7201, allocations: 0.6767 MB / 0.7336 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.31e-05/0.7202, allocations: 12.95 kB / 0.7336 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.137e-05/0.7202, allocations: 10.36 kB / 0.7336 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of SimCode: time 4.4e-07/0.7202, allocations: 1.031 kB / 0.7336 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1163/0.8365, allocations: 1.239 MB / 0.7348 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002066/0.8367, allocations: 200.4 kB / 0.735 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.736/2.573, allocations: 1.031 kB / 0.735 GB, free: 14.24 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)