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.0009603/0.0009603, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.005617/0.005617, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.221/1.221, 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/package.mo): time 0.707/0.707, allocations: 132.3 MB / 423.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000299/0.000299, allocations: 8 kB / 0.5041 GB, free: 3.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3794/0.3798, allocations: 81.57 MB / 0.5837 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1407/0.5205, allocations: 144.1 MB / 0.7245 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001098/0.5206, allocations: 43.81 kB / 0.7245 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.608e-05/0.5207, allocations: 0 / 0.7245 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 8.919e-05/0.5208, allocations: 7.984 kB / 0.7246 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.897e-05/0.5209, allocations: 15.92 kB / 0.7246 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006763/0.5215, allocations: 206 kB / 0.7248 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.888e-05/0.5216, allocations: 59.81 kB / 0.7248 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.271e-05/0.5217, allocations: 7.922 kB / 0.7248 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.319e-05/0.5217, allocations: 12 kB / 0.7248 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.338e-05/0.5218, allocations: 15.91 kB / 0.7249 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.5218, allocations: 7.938 kB / 0.7249 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004079/0.5222, allocations: 231.4 kB / 0.7251 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.875e-05/0.5223, allocations: 4 kB / 0.7251 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.369e-05/0.5223, allocations: 41.56 kB / 0.7251 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.5225, allocations: 122 kB / 0.7252 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.5226, allocations: 4 kB / 0.7253 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5226, allocations: 0 / 0.7253 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.246e-06/0.5226, allocations: 0 / 0.7253 GB, free: 14.95 MB / 0.5606 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.0003474/0.5229, allocations: 335.5 kB / 0.7256 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.523, allocations: 12.03 kB / 0.7256 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.214e-05/0.523, allocations: 34.75 kB / 0.7256 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000292/0.5233, allocations: 28.89 kB / 0.7256 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.5234, allocations: 164.1 kB / 0.7258 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.041e-05/0.5235, allocations: 37.62 kB / 0.7258 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.5235, allocations: 0 / 0.7258 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.5236, allocations: 49.67 kB / 0.7259 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.5237, allocations: 3.938 kB / 0.7259 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.5237, allocations: 4 kB / 0.7259 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.5237, allocations: 4 kB / 0.7259 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.797e-05/0.5237, allocations: 19.98 kB / 0.7259 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000303/0.5241, allocations: 260.9 kB / 0.7262 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.588e-05/0.5241, allocations: 18.58 kB / 0.7262 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.026e-05/0.5241, allocations: 12.91 kB / 0.7262 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001436/0.5243, allocations: 97.09 kB / 0.7263 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.5243, allocations: 38.5 kB / 0.7263 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.5243, allocations: 0 / 0.7263 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0002165/0.5245, allocations: 49.59 kB / 0.7264 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.5246, allocations: 55.34 kB / 0.7264 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.399e-05/0.5247, allocations: 106 kB / 0.7265 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.5247, allocations: 25.7 kB / 0.7265 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.407e-05/0.5247, allocations: 95.97 kB / 0.7266 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.002e-05/0.5247, allocations: 7.906 kB / 0.7266 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.882e-05/0.5248, allocations: 9.719 kB / 0.7267 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.049e-05/0.5248, allocations: 314.8 kB / 0.727 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.443e-05/0.5249, allocations: 4 kB / 0.727 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.946e-05/0.5249, allocations: 34.5 kB / 0.727 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.868e-05/0.5249, allocations: 26.58 kB / 0.727 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.525, allocations: 0 / 0.727 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.924e-05/0.525, allocations: 57.62 kB / 0.7271 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.5251, allocations: 7.938 kB / 0.7271 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.5251, allocations: 96 / 0.7271 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.5251, allocations: 4 kB / 0.7271 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.402e-05/0.5251, allocations: 11.94 kB / 0.7271 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.5252, allocations: 7.922 kB / 0.7271 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.591e-05/0.5252, allocations: 0 / 0.7271 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.5252, allocations: 4 kB / 0.7271 GB, free: 12.77 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 6.142e-05/0.5253, allocations: 105.8 kB / 0.7272 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.5253, allocations: 4 kB / 0.7272 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.011e-05/0.5253, allocations: 11.06 kB / 0.7272 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.5253, allocations: 0 / 0.7272 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.5253, allocations: 7.938 kB / 0.7272 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.5253, allocations: 0 / 0.7272 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/0.5256, allocations: 367.5 kB / 0.7276 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.5256, allocations: 4 kB / 0.7276 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.649e-05/0.5256, allocations: 7.938 kB / 0.7276 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.5256, allocations: 0 / 0.7276 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-06/0.5257, allocations: 0 / 0.7276 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.5257, allocations: 4.062 kB / 0.7276 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.5257, allocations: 4 kB / 0.7276 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.986e-05/0.5257, allocations: 69.92 kB / 0.7277 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.316e-05/0.5258, allocations: 81.05 kB / 0.7277 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.5258, allocations: 4 kB / 0.7277 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.32e-05/0.5259, allocations: 7.984 kB / 0.7278 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.998e-06/0.5259, allocations: 4.312 kB / 0.7278 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.5259, allocations: 0 / 0.7278 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.426e-05/0.526, allocations: 87.27 kB / 0.7278 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.526, allocations: 0 / 0.7278 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001857/0.5262, allocations: 8 kB / 0.7278 GB, free: 11.9 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.0003046/0.5265, allocations: 0.6093 MB / 0.7284 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.843e-05/0.5265, allocations: 15.98 kB / 0.7285 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.5266, allocations: 0 / 0.7285 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.093e-05/0.5266, allocations: 7.938 kB / 0.7285 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/0.5268, allocations: 14.31 kB / 0.7285 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003279/0.5271, allocations: 163 kB / 0.7286 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001794/0.5273, allocations: 0.677 MB / 0.7293 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.609e-05/0.5274, allocations: 11.98 kB / 0.7293 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.65e-05/0.5274, allocations: 11.38 kB / 0.7293 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.5274, allocations: 4 kB / 0.7293 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1233/0.6507, allocations: 1.23 MB / 0.7305 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000256/0.651, allocations: 196.5 kB / 0.7307 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.012/2.663, allocations: 3 kB / 0.7307 GB, free: 8.945 MB / 0.5606 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)