Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Annex60.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Annex60.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 108 kB / 15.6 MB, free: 132 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.001379/0.00138, allocations: 192.9 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.594/1.594, allocations: 205.1 MB / 222.4 MB, free: 4.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4368/0.4368, allocations: 54.94 MB / 324.7 MB, free: 15.95 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 71.89 kB / 395.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1372, allocations: 59.59 MB / 454.9 MB, free: 172 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4559/0.5931, allocations: 148.3 MB / 0.589 GB, free: 3.16 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001711/0.5933, allocations: 49.5 kB / 0.5891 GB, free: 3.117 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.135e-05/0.5934, allocations: 0 / 0.5891 GB, free: 3.117 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001415/0.5936, allocations: 3.938 kB / 0.5891 GB, free: 3.113 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 9.46e-05/0.5937, allocations: 15.97 kB / 0.5891 GB, free: 3.098 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008901/0.5946, allocations: 209.4 kB / 0.5893 GB, free: 2.895 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.796e-05/0.5947, allocations: 23.92 kB / 0.5893 GB, free: 2.871 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.45e-05/0.5948, allocations: 4 kB / 0.5893 GB, free: 2.867 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.209e-05/0.5948, allocations: 16.58 kB / 0.5893 GB, free: 2.852 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.402e-05/0.5949, allocations: 15.92 kB / 0.5894 GB, free: 2.836 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.5949, allocations: 0 / 0.5894 GB, free: 2.836 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004529/0.5954, allocations: 195.5 kB / 0.5895 GB, free: 2.645 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.696e-05/0.5954, allocations: 7.984 kB / 0.5895 GB, free: 2.637 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.256e-05/0.5955, allocations: 11.94 kB / 0.5896 GB, free: 2.625 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002757/0.5958, allocations: 113.8 kB / 0.5897 GB, free: 2.516 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.5958, allocations: 3.562 kB / 0.5897 GB, free: 2.516 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5958, allocations: 0 / 0.5897 GB, free: 2.516 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.5958, allocations: 0 / 0.5897 GB, free: 2.516 MB / 462.1 MB 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.0004923/0.5963, allocations: 339.5 kB / 0.59 GB, free: 2.137 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.5964, allocations: 11.97 kB / 0.59 GB, free: 2.125 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004123/0.5968, allocations: 28.91 kB / 0.59 GB, free: 2.098 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.5969, allocations: 168.4 kB / 0.5902 GB, free: 1.895 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-05/0.597, allocations: 29.64 kB / 0.5902 GB, free: 1.859 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.5971, allocations: 4 kB / 0.5902 GB, free: 1.855 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.5972, allocations: 45.69 kB / 0.5903 GB, free: 1.805 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.5972, allocations: 0 / 0.5903 GB, free: 1.805 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.5973, allocations: 7.984 kB / 0.5903 GB, free: 1.797 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.5973, allocations: 3.938 kB / 0.5903 GB, free: 1.793 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.975e-05/0.5974, allocations: 23.98 kB / 0.5903 GB, free: 1.77 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003791/0.5977, allocations: 260 kB / 0.5906 GB, free: 1.469 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.333e-05/0.5978, allocations: 22.58 kB / 0.5906 GB, free: 1.438 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.348e-05/0.5978, allocations: 8.844 kB / 0.5906 GB, free: 1.426 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001657/0.598, allocations: 97.16 kB / 0.5907 GB, free: 1.312 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.598, allocations: 39 kB / 0.5907 GB, free: 1.266 MB / 462.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.5981, allocations: 0 / 0.5907 GB, free: 1.266 MB / 462.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002635/0.5983, allocations: 49.69 kB / 0.5908 GB, free: 1.211 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.5984, allocations: 51.41 kB / 0.5908 GB, free: 1.148 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.667e-05/0.5985, allocations: 97.8 kB / 0.5909 GB, free: 1.043 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.5985, allocations: 29.7 kB / 0.5909 GB, free: 1.008 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.312e-05/0.5986, allocations: 97.97 kB / 0.591 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.272e-05/0.5986, allocations: 4 kB / 0.591 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.051e-05/0.5987, allocations: 21.62 kB / 0.591 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.5988, allocations: 310.8 kB / 0.5913 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.769e-05/0.5988, allocations: 4 kB / 0.5913 GB, free: 0.5625 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.879e-05/0.5989, allocations: 30.5 kB / 0.5914 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.926e-05/0.5989, allocations: 31.39 kB / 0.5914 GB, free: 496 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.599, allocations: 0 / 0.5914 GB, free: 496 kB / 462.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.447e-05/0.5991, allocations: 53.62 kB / 0.5915 GB, free: 436 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.5991, allocations: 4 kB / 0.5915 GB, free: 432 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.5991, allocations: 4 kB / 0.5915 GB, free: 428 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.5991, allocations: 0 / 0.5915 GB, free: 428 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.65e-05/0.5992, allocations: 4 kB / 0.5915 GB, free: 424 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.5992, allocations: 15.97 kB / 0.5915 GB, free: 408 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.344e-05/0.5993, allocations: 5.516 kB / 0.5915 GB, free: 404 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.5993, allocations: 3.938 kB / 0.5915 GB, free: 400 kB / 462.1 MB 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.977e-05/0.5994, allocations: 109.8 kB / 0.5916 GB, free: 280 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.5994, allocations: 0 / 0.5916 GB, free: 280 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.145e-05/0.5994, allocations: 11.12 kB / 0.5916 GB, free: 268 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.5994, allocations: 0 / 0.5916 GB, free: 268 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.5995, allocations: 4.562 kB / 0.5916 GB, free: 264 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.5995, allocations: 0 / 0.5916 GB, free: 264 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003121/0.5998, allocations: 363.6 kB / 0.592 GB, free: 15.84 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.5998, allocations: 0 / 0.592 GB, free: 15.84 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.874e-05/0.5998, allocations: 4.875 kB / 0.592 GB, free: 15.84 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.5998, allocations: 5.062 kB / 0.592 GB, free: 15.83 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.5999, allocations: 4 kB / 0.592 GB, free: 15.83 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.5999, allocations: 0 / 0.592 GB, free: 15.83 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5999, allocations: 0 / 0.592 GB, free: 15.83 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.85e-05/0.6, allocations: 77.89 kB / 0.592 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.166e-05/0.6, allocations: 89.03 kB / 0.5921 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.6, allocations: 0.75 kB / 0.5921 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.658e-05/0.6001, allocations: 4 kB / 0.5921 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.642e-05/0.6001, allocations: 3.984 kB / 0.5921 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/0.6001, allocations: 1.125 kB / 0.5921 GB, free: 15.62 MB / 478.1 MB Notification: Performance of sorting global known variables: time 3.554e-05/0.6002, allocations: 87.31 kB / 0.5922 GB, free: 15.53 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6002, allocations: 0 / 0.5922 GB, free: 15.53 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002184/0.6004, allocations: 4 kB / 0.5922 GB, free: 15.53 MB / 478.1 MB 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.0001377/0.6006, allocations: 99.25 kB / 0.5923 GB, free: 15.42 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001016/0.6007, allocations: 19.92 kB / 0.5923 GB, free: 15.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.6007, allocations: 0 / 0.5923 GB, free: 15.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 9.768e-06/0.6007, allocations: 8.188 kB / 0.5924 GB, free: 15.39 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.601, allocations: 4.812 kB / 0.5924 GB, free: 15.39 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003098/0.6013, allocations: 129.5 kB / 0.5925 GB, free: 15.25 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.6015, allocations: 0.6777 MB / 0.5931 GB, free: 14.54 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 6.304e-05/0.6016, allocations: 8.125 kB / 0.5931 GB, free: 14.54 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.148e-05/0.6016, allocations: 7.438 kB / 0.5932 GB, free: 14.53 MB / 478.1 MB Notification: Performance of SimCode: time 2.31e-07/0.6016, allocations: 0 / 0.5932 GB, free: 14.53 MB / 478.1 MB Notification: Performance of Templates: time 0.002725/0.6044, allocations: 0.5179 MB / 0.5937 GB, free: 14.04 MB / 478.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)