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.0077/0.0077, allocations: 99.31 kB / 15.73 MB, free: 6.051 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.001749/0.001749, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9209/0.9209, allocations: 135.1 MB / 425.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 63.89 kB / 0.5851 GB, free: 3.898 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4429/0.4442, allocations: 80.92 MB / 0.6641 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.167/0.6112, allocations: 148.3 MB / 0.8089 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0001658/0.6114, allocations: 51.86 kB / 0.809 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.397e-05/0.6114, allocations: 0 / 0.809 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001207/0.6116, allocations: 3.938 kB / 0.809 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 9.147e-05/0.6117, allocations: 15.91 kB / 0.809 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009668/0.6127, allocations: 211.2 kB / 0.8092 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.6128, allocations: 35.84 kB / 0.8092 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 5.346e-05/0.6129, allocations: 3.984 kB / 0.8093 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 5.09e-05/0.6129, allocations: 15.94 kB / 0.8093 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 8.84e-05/0.613, allocations: 15.97 kB / 0.8093 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.6131, allocations: 0 / 0.8093 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005417/0.6136, allocations: 195.4 kB / 0.8095 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 5.244e-05/0.6137, allocations: 11.98 kB / 0.8095 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.092e-05/0.6137, allocations: 11.94 kB / 0.8095 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003257/0.614, allocations: 114 kB / 0.8096 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.6141, allocations: 0 / 0.8096 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6141, allocations: 0 / 0.8096 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.6141, allocations: 0 / 0.8096 GB, free: 12.11 MB / 0.6387 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.0005257/0.6146, allocations: 343.5 kB / 0.8099 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.6147, allocations: 8.031 kB / 0.8099 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.38e-05/0.6147, allocations: 42.69 kB / 0.81 GB, free: 11.67 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003625/0.6151, allocations: 24.91 kB / 0.81 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.6152, allocations: 176 kB / 0.8102 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.453e-05/0.6153, allocations: 25.7 kB / 0.8102 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.6153, allocations: 0 / 0.8102 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.6155, allocations: 53.67 kB / 0.8102 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.6155, allocations: 0 / 0.8102 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.6156, allocations: 0 / 0.8102 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.6156, allocations: 4 kB / 0.8102 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.504e-05/0.6157, allocations: 23.98 kB / 0.8103 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004045/0.6161, allocations: 256.8 kB / 0.8105 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 5.734e-05/0.6161, allocations: 22.58 kB / 0.8105 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.824e-05/0.6162, allocations: 8.859 kB / 0.8105 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001814/0.6164, allocations: 101.1 kB / 0.8106 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.6164, allocations: 30.56 kB / 0.8107 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=2): time 2.976e-06/0.6164, allocations: 0 / 0.8107 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2): time 0.0002733/0.6167, allocations: 57.56 kB / 0.8107 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.6167, allocations: 59.33 kB / 0.8108 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.6169, allocations: 106 kB / 0.8109 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.6169, allocations: 29.7 kB / 0.8109 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.355e-05/0.617, allocations: 87.98 kB / 0.811 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.214e-05/0.617, allocations: 11.89 kB / 0.811 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.002e-05/0.617, allocations: 13.72 kB / 0.811 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.6171, allocations: 318.8 kB / 0.8113 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.785e-05/0.6172, allocations: 4 kB / 0.8113 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.821e-05/0.6172, allocations: 22.56 kB / 0.8114 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.663e-05/0.6173, allocations: 34.52 kB / 0.8114 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.6173, allocations: 4 kB / 0.8114 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.7e-05/0.6174, allocations: 53.62 kB / 0.8114 GB, free: 9.957 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.6174, allocations: 4 kB / 0.8114 GB, free: 9.953 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.6174, allocations: 0 / 0.8114 GB, free: 9.953 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.6174, allocations: 4.094 kB / 0.8114 GB, free: 9.949 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.906e-05/0.6175, allocations: 8 kB / 0.8115 GB, free: 9.941 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.6175, allocations: 3.938 kB / 0.8115 GB, free: 9.938 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.104e-05/0.6175, allocations: 11.98 kB / 0.8115 GB, free: 9.926 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.6175, allocations: 0 / 0.8115 GB, free: 9.926 MB / 0.6387 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.656e-05/0.6176, allocations: 113.8 kB / 0.8116 GB, free: 9.805 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.6177, allocations: 3.906 kB / 0.8116 GB, free: 9.801 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.467e-05/0.6177, allocations: 7.125 kB / 0.8116 GB, free: 9.789 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.6177, allocations: 0 / 0.8116 GB, free: 9.789 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.6177, allocations: 7.938 kB / 0.8116 GB, free: 9.781 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.6177, allocations: 4 kB / 0.8116 GB, free: 9.777 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002979/0.618, allocations: 355.6 kB / 0.8119 GB, free: 9.367 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.618, allocations: 0 / 0.8119 GB, free: 9.367 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.803e-05/0.6181, allocations: 11.88 kB / 0.8119 GB, free: 9.355 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.6181, allocations: 4 kB / 0.812 GB, free: 9.352 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.6181, allocations: 4 kB / 0.812 GB, free: 9.348 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.6181, allocations: 4.062 kB / 0.812 GB, free: 9.344 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6181, allocations: 4 kB / 0.812 GB, free: 9.34 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.096e-05/0.6182, allocations: 65.98 kB / 0.812 GB, free: 9.254 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 6.671e-05/0.6183, allocations: 84.95 kB / 0.8121 GB, free: 9.152 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.6183, allocations: 4 kB / 0.8121 GB, free: 9.148 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.388e-05/0.6184, allocations: 7.922 kB / 0.8121 GB, free: 9.141 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.424e-05/0.6184, allocations: 11.97 kB / 0.8121 GB, free: 9.129 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.6184, allocations: 0 / 0.8121 GB, free: 9.129 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.212e-05/0.6184, allocations: 83.28 kB / 0.8122 GB, free: 9.047 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6184, allocations: 0 / 0.8122 GB, free: 9.047 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0001923/0.6186, allocations: 8 kB / 0.8122 GB, free: 9.039 MB / 0.6387 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.000378/0.619, allocations: 0.6068 MB / 0.8128 GB, free: 8.402 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 9.904e-05/0.6191, allocations: 19.92 kB / 0.8128 GB, free: 8.383 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.6191, allocations: 0 / 0.8128 GB, free: 8.383 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.542e-05/0.6192, allocations: 4 kB / 0.8128 GB, free: 8.379 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.6194, allocations: 14.95 kB / 0.8128 GB, free: 8.367 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004111/0.6199, allocations: 153.2 kB / 0.813 GB, free: 8.176 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.6201, allocations: 0.6768 MB / 0.8137 GB, free: 7.473 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 5.779e-05/0.6202, allocations: 12.39 kB / 0.8137 GB, free: 7.461 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.99e-05/0.6202, allocations: 11.44 kB / 0.8137 GB, free: 7.449 MB / 0.6387 GB Notification: Performance of SimCode: time 3.2e-07/0.6202, allocations: 0 / 0.8137 GB, free: 7.449 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0191/0.6394, allocations: 1.442 MB / 0.8151 GB, free: 6.09 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.193/7.832, allocations: 11.11 kB / 0.8151 GB, free: 6.082 MB / 0.6387 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)