Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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: translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009702/0.009702, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.001945/0.001945, allocations: 192.8 kB / 16.67 MB, free: 5.875 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8553/0.8553, allocations: 135.5 MB / 426.1 MB, free: 3.66 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 63.77 kB / 0.5862 GB, free: 21.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.1955, allocations: 81.03 MB / 0.6653 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.009707/0.2053, allocations: 4.003 MB / 0.6692 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003775/0.2057, allocations: 159.5 kB / 0.6694 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.237e-05/0.2057, allocations: 0 / 0.6694 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001421/0.2059, allocations: 3.938 kB / 0.6694 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.2061, allocations: 19.91 kB / 0.6694 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004984/0.2066, allocations: 79.38 kB / 0.6695 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.2067, allocations: 39.78 kB / 0.6695 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.579e-05/0.2068, allocations: 0 / 0.6695 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.791e-05/0.2069, allocations: 19.98 kB / 0.6695 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.417e-05/0.207, allocations: 7.984 kB / 0.6696 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.778e-05/0.207, allocations: 0 / 0.6696 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002848/0.2073, allocations: 63.75 kB / 0.6696 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.99e-05/0.2074, allocations: 11.92 kB / 0.6696 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.022e-05/0.2074, allocations: 11.98 kB / 0.6696 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.2076, allocations: 43.78 kB / 0.6697 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2077, allocations: 0 / 0.6697 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2077, allocations: 4 kB / 0.6697 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.2077, allocations: 0 / 0.6697 GB, free: 0.6836 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006366/0.2083, allocations: 335.5 kB / 0.67 GB, free: 316 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.2084, allocations: 9.109 kB / 0.67 GB, free: 308 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.153e-05/0.2085, allocations: 12.88 kB / 0.67 GB, free: 296 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.2087, allocations: 160.4 kB / 0.6702 GB, free: 96 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.512e-05/0.2088, allocations: 26.27 kB / 0.6702 GB, free: 64 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.2088, allocations: 8.359 kB / 0.6702 GB, free: 56 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/0.2091, allocations: 45.62 kB / 0.6703 GB, free: 4 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.2091, allocations: 4 kB / 0.6703 GB, free: 0 / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.2091, allocations: 0 / 0.6703 GB, free: 0 / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.528e-05/0.2092, allocations: 11.98 kB / 0.6703 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.148e-05/0.2093, allocations: 8 kB / 0.6703 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008155/0.2101, allocations: 334 kB / 0.6706 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 6.444e-05/0.2102, allocations: 14.58 kB / 0.6706 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.579e-05/0.2103, allocations: 4.859 kB / 0.6706 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001479/0.2104, allocations: 97.16 kB / 0.6707 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.942e-05/0.2105, allocations: 30.56 kB / 0.6707 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 2.064e-06/0.2105, allocations: 3.938 kB / 0.6707 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0002286/0.2107, allocations: 33.7 kB / 0.6708 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.931e-05/0.2108, allocations: 55.39 kB / 0.6708 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.211, allocations: 97.86 kB / 0.6709 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.211, allocations: 25.7 kB / 0.6709 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.446e-05/0.2111, allocations: 96.16 kB / 0.671 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.307e-06/0.2111, allocations: 7.938 kB / 0.671 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.2112, allocations: 17.72 kB / 0.6711 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.2113, allocations: 314.8 kB / 0.6714 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.176e-05/0.2114, allocations: 8 kB / 0.6714 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.001e-05/0.2114, allocations: 25.64 kB / 0.6714 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.988e-05/0.2114, allocations: 21.66 kB / 0.6714 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2115, allocations: 0 / 0.6714 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.236e-05/0.2116, allocations: 53.62 kB / 0.6715 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.2116, allocations: 4 kB / 0.6715 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.2116, allocations: 0 / 0.6715 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.2116, allocations: 0 / 0.6715 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.648e-05/0.2117, allocations: 8.281 kB / 0.6715 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.2117, allocations: 0 / 0.6715 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.637e-05/0.2117, allocations: 0 / 0.6715 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.2117, allocations: 12.06 kB / 0.6715 GB, free: 14.56 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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.487e-05/0.2118, allocations: 113.8 kB / 0.6716 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.2118, allocations: 7.891 kB / 0.6716 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001268/0.212, allocations: 120.9 kB / 0.6717 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-05/0.2121, allocations: 184.2 kB / 0.6719 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.612e-05/0.2122, allocations: 180.3 kB / 0.6721 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.41e-05/0.2122, allocations: 188.2 kB / 0.6722 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002751/0.2125, allocations: 409.2 kB / 0.6726 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.021e-05/0.2126, allocations: 104.9 kB / 0.6727 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.339e-05/0.2126, allocations: 101 kB / 0.6728 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001314/0.2128, allocations: 176.3 kB / 0.673 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.594e-05/0.2129, allocations: 192.2 kB / 0.6732 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.319e-05/0.213, allocations: 176.3 kB / 0.6734 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0002011/0.2132, allocations: 180.2 kB / 0.6735 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002926/0.2135, allocations: 307.7 kB / 0.6738 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.2136, allocations: 190.1 kB / 0.674 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.2137, allocations: 176.3 kB / 0.6742 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.2139, allocations: 116.9 kB / 0.6743 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.214, allocations: 176.3 kB / 0.6744 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-05/0.2141, allocations: 104.9 kB / 0.6745 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.345e-05/0.2141, allocations: 87.28 kB / 0.6746 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2142, allocations: 4 kB / 0.6746 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002897/0.2145, allocations: 15.94 kB / 0.6746 GB, free: 11.1 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0003244/0.2148, allocations: 202.4 kB / 0.6748 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.519e-05/0.2149, allocations: 11.92 kB / 0.6749 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2149, allocations: 0 / 0.6749 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.173e-06/0.2149, allocations: 0 / 0.6749 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005586/0.2154, allocations: 467.8 kB / 0.6753 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002742/0.2157, allocations: 182 kB / 0.6755 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.2161, allocations: 0.6729 MB / 0.6761 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.525e-05/0.2161, allocations: 15.84 kB / 0.6761 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.75e-05/0.2161, allocations: 11.38 kB / 0.6762 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.2162, allocations: 0 / 0.6762 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of Templates: time 0.003153/0.2193, allocations: 0.6324 MB / 0.6768 GB, free: 8.863 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)