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.004662/0.004662, allocations: 99.05 kB / 15.73 MB, free: 6.055 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.001127/0.001127, allocations: 201.9 kB / 16.68 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.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7413/0.7413, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 67.33 kB / 0.5808 GB, free: 1.277 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1561, allocations: 80.2 MB / 0.6592 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1591/0.3153, allocations: 148.3 MB / 0.804 GB, free: 9.27 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0001391/0.3154, allocations: 55.8 kB / 0.804 GB, free: 9.215 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.233e-05/0.3155, allocations: 4 kB / 0.804 GB, free: 9.211 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001098/0.3156, allocations: 0 / 0.804 GB, free: 9.211 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 8.031e-05/0.3157, allocations: 15.91 kB / 0.804 GB, free: 9.195 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007761/0.3165, allocations: 213.4 kB / 0.8042 GB, free: 8.988 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 8.49e-05/0.3166, allocations: 39.84 kB / 0.8043 GB, free: 8.949 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 5.074e-05/0.3167, allocations: 7.984 kB / 0.8043 GB, free: 8.941 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 3.424e-05/0.3167, allocations: 8 kB / 0.8043 GB, free: 8.934 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 6.795e-05/0.3168, allocations: 19.91 kB / 0.8043 GB, free: 8.914 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.3168, allocations: 0 / 0.8043 GB, free: 8.914 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004086/0.3172, allocations: 199.4 kB / 0.8045 GB, free: 8.719 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 5.699e-05/0.3173, allocations: 15.97 kB / 0.8045 GB, free: 8.703 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.578e-05/0.3173, allocations: 7.938 kB / 0.8045 GB, free: 8.695 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002409/0.3176, allocations: 110.7 kB / 0.8046 GB, free: 8.59 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3176, allocations: 3.938 kB / 0.8046 GB, free: 8.586 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3176, allocations: 4 kB / 0.8046 GB, free: 8.582 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.3176, allocations: 4 kB / 0.8047 GB, free: 8.578 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.0004083/0.318, allocations: 344.3 kB / 0.805 GB, free: 8.195 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.318, allocations: 12.03 kB / 0.805 GB, free: 8.184 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.79e-05/0.3181, allocations: 30.75 kB / 0.805 GB, free: 8.145 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003082/0.3184, allocations: 28.91 kB / 0.805 GB, free: 8.117 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.3185, allocations: 168 kB / 0.8052 GB, free: 7.914 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.5e-05/0.3186, allocations: 29.69 kB / 0.8052 GB, free: 7.879 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.3186, allocations: 8 kB / 0.8052 GB, free: 7.871 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.3188, allocations: 45.69 kB / 0.8053 GB, free: 7.82 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.3188, allocations: 0 / 0.8053 GB, free: 7.82 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.3188, allocations: 0 / 0.8053 GB, free: 7.82 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/0.3188, allocations: 4 kB / 0.8053 GB, free: 7.816 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.819e-05/0.3189, allocations: 27.91 kB / 0.8053 GB, free: 7.789 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003604/0.3192, allocations: 256.9 kB / 0.8056 GB, free: 7.488 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 4.757e-05/0.3193, allocations: 22.58 kB / 0.8056 GB, free: 7.457 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.413e-05/0.3193, allocations: 16.91 kB / 0.8056 GB, free: 7.438 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001484/0.3195, allocations: 93.03 kB / 0.8057 GB, free: 7.328 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.3195, allocations: 30.56 kB / 0.8057 GB, free: 7.289 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.3195, allocations: 0 / 0.8057 GB, free: 7.289 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2): time 0.0002388/0.3198, allocations: 57.62 kB / 0.8058 GB, free: 7.227 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.3198, allocations: 55.34 kB / 0.8058 GB, free: 7.16 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.527e-05/0.3199, allocations: 101.9 kB / 0.8059 GB, free: 7.051 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.3199, allocations: 25.7 kB / 0.8059 GB, free: 7.02 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.321e-05/0.32, allocations: 88.03 kB / 0.806 GB, free: 6.93 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.22e-05/0.32, allocations: 15.83 kB / 0.806 GB, free: 6.914 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/0.32, allocations: 13.72 kB / 0.8061 GB, free: 6.895 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.3202, allocations: 323 kB / 0.8064 GB, free: 6.57 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.652e-05/0.3202, allocations: 3.984 kB / 0.8064 GB, free: 6.566 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.751e-05/0.3202, allocations: 22.58 kB / 0.8064 GB, free: 6.535 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.459e-05/0.3203, allocations: 34.45 kB / 0.8064 GB, free: 6.492 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3203, allocations: 4 kB / 0.8064 GB, free: 6.488 MB / 0.6387 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.106e-05/0.3204, allocations: 53.62 kB / 0.8065 GB, free: 6.43 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.3204, allocations: 4 kB / 0.8065 GB, free: 6.426 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.3204, allocations: 4 kB / 0.8065 GB, free: 6.422 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.3204, allocations: 0 / 0.8065 GB, free: 6.422 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.624e-05/0.3205, allocations: 7.984 kB / 0.8065 GB, free: 6.414 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.3205, allocations: 7.938 kB / 0.8065 GB, free: 6.406 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.054e-05/0.3205, allocations: 7.906 kB / 0.8065 GB, free: 6.398 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.3205, allocations: 0 / 0.8065 GB, free: 6.398 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 8.378e-05/0.3206, allocations: 117.9 kB / 0.8066 GB, free: 6.273 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.3207, allocations: 0 / 0.8066 GB, free: 6.273 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.368e-05/0.3207, allocations: 11.12 kB / 0.8066 GB, free: 6.258 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.3207, allocations: 0 / 0.8066 GB, free: 6.258 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.3207, allocations: 7.938 kB / 0.8066 GB, free: 6.25 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.3207, allocations: 0 / 0.8066 GB, free: 6.25 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.321, allocations: 355.6 kB / 0.807 GB, free: 5.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.321, allocations: 4.062 kB / 0.807 GB, free: 5.836 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.794e-05/0.321, allocations: 7.938 kB / 0.807 GB, free: 5.828 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.321, allocations: 0 / 0.807 GB, free: 5.828 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.321, allocations: 4 kB / 0.807 GB, free: 5.824 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3211, allocations: 0 / 0.807 GB, free: 5.824 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3211, allocations: 0 / 0.807 GB, free: 5.824 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.802e-05/0.3211, allocations: 77.98 kB / 0.8071 GB, free: 5.727 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 4.164e-05/0.3212, allocations: 84.95 kB / 0.8072 GB, free: 5.625 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.3212, allocations: 0 / 0.8072 GB, free: 5.625 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.098e-05/0.3213, allocations: 7.984 kB / 0.8072 GB, free: 5.617 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.004e-05/0.3213, allocations: 3.938 kB / 0.8072 GB, free: 5.613 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-06/0.3213, allocations: 0 / 0.8072 GB, free: 5.613 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.586e-05/0.3214, allocations: 87.22 kB / 0.8072 GB, free: 5.527 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3214, allocations: 0 / 0.8072 GB, free: 5.527 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0001962/0.3216, allocations: 11.98 kB / 0.8073 GB, free: 5.516 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.0003453/0.3219, allocations: 0.6059 MB / 0.8078 GB, free: 4.879 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 8.257e-05/0.322, allocations: 16.09 kB / 0.8079 GB, free: 4.863 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.322, allocations: 4.062 kB / 0.8079 GB, free: 4.859 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.042e-05/0.322, allocations: 4 kB / 0.8079 GB, free: 4.855 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.3223, allocations: 13.97 kB / 0.8079 GB, free: 4.844 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003596/0.3226, allocations: 153.1 kB / 0.808 GB, free: 4.652 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.3229, allocations: 0.6768 MB / 0.8087 GB, free: 3.949 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 4.71e-05/0.3229, allocations: 12.11 kB / 0.8087 GB, free: 3.938 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.92e-05/0.323, allocations: 7.438 kB / 0.8087 GB, free: 3.93 MB / 0.6387 GB Notification: Performance of SimCode: time 2.21e-07/0.323, allocations: 0 / 0.8087 GB, free: 3.93 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01837/0.3414, allocations: 1.436 MB / 0.8101 GB, free: 2.605 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.148/7.489, allocations: 12.98 kB / 0.8101 GB, free: 2.598 MB / 0.6387 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)