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.001049/0.001049, 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.001304/0.001304, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.387/1.387, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9797/0.9797, allocations: 135.1 MB / 425.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 67.89 kB / 0.5053 GB, free: 5.371 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2166, allocations: 80.92 MB / 0.5843 GB, free: 4.609 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006627/0.2232, allocations: 4.011 MB / 0.5883 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002334/0.2235, allocations: 159.4 kB / 0.5884 GB, free: 420 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.193e-05/0.2236, allocations: 4 kB / 0.5884 GB, free: 416 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.2237, allocations: 3.984 kB / 0.5884 GB, free: 412 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.214e-05/0.2238, allocations: 11.92 kB / 0.5884 GB, free: 400 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004278/0.2242, allocations: 87.06 kB / 0.5885 GB, free: 316 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.456e-05/0.2243, allocations: 31.92 kB / 0.5886 GB, free: 284 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.971e-05/0.2244, allocations: 0 / 0.5886 GB, free: 284 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.142e-05/0.2245, allocations: 19.91 kB / 0.5886 GB, free: 264 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.017e-05/0.2245, allocations: 15.92 kB / 0.5886 GB, free: 248 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.2245, allocations: 0 / 0.5886 GB, free: 248 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002298/0.2248, allocations: 59.81 kB / 0.5886 GB, free: 188 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.836e-05/0.2248, allocations: 3.984 kB / 0.5886 GB, free: 184 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.649e-05/0.2249, allocations: 15.94 kB / 0.5887 GB, free: 168 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001444/0.225, allocations: 43.95 kB / 0.5887 GB, free: 124 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.225, allocations: 0 / 0.5887 GB, free: 124 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2251, allocations: 0 / 0.5887 GB, free: 124 kB / 494.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.2251, allocations: 0 / 0.5887 GB, free: 124 kB / 494.1 MB 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.0004729/0.2255, allocations: 339.7 kB / 0.589 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.2256, allocations: 12.03 kB / 0.589 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.014e-05/0.2256, allocations: 0.9375 kB / 0.589 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.2258, allocations: 160.4 kB / 0.5892 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.519e-05/0.2259, allocations: 38.2 kB / 0.5892 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.685e-06/0.2259, allocations: 384 / 0.5892 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.226, allocations: 57.55 kB / 0.5893 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.2261, allocations: 0 / 0.5893 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.2261, allocations: 7.984 kB / 0.5893 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.055e-05/0.2261, allocations: 0 / 0.5893 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.96e-05/0.2262, allocations: 15.98 kB / 0.5893 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004862/0.2267, allocations: 330 kB / 0.5896 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.244e-05/0.2267, allocations: 26.52 kB / 0.5896 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.844e-05/0.2267, allocations: 8.859 kB / 0.5897 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.942e-05/0.2268, allocations: 85.16 kB / 0.5897 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.2269, allocations: 34.56 kB / 0.5898 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.2269, allocations: 0 / 0.5898 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001601/0.227, allocations: 37.59 kB / 0.5898 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.2271, allocations: 55.53 kB / 0.5899 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.263e-05/0.2272, allocations: 105.8 kB / 0.59 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.2272, allocations: 25.7 kB / 0.59 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.706e-05/0.2273, allocations: 95.86 kB / 0.5901 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.362e-06/0.2273, allocations: 4 kB / 0.5901 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/0.2273, allocations: 13.72 kB / 0.5901 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.2274, allocations: 322.8 kB / 0.5904 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.594e-05/0.2275, allocations: 0 / 0.5904 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.624e-05/0.2275, allocations: 21.72 kB / 0.5904 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.589e-05/0.2275, allocations: 17.72 kB / 0.5904 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2275, allocations: 0 / 0.5904 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.034e-05/0.2276, allocations: 49.62 kB / 0.5905 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.2277, allocations: 8 kB / 0.5905 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.2277, allocations: 0 / 0.5905 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.2277, allocations: 4.062 kB / 0.5905 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.19e-05/0.2277, allocations: 7.984 kB / 0.5905 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.2278, allocations: 0 / 0.5905 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.029e-05/0.2278, allocations: 4 kB / 0.5905 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.2278, allocations: 4 kB / 0.5905 GB, free: 13.99 MB / 0.4981 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.328e-05/0.2279, allocations: 113.8 kB / 0.5906 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.2279, allocations: 3.906 kB / 0.5906 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001309/0.2281, allocations: 124.9 kB / 0.5907 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.661e-05/0.2281, allocations: 188.2 kB / 0.5909 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.932e-05/0.2282, allocations: 180.2 kB / 0.5911 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.754e-05/0.2283, allocations: 180.3 kB / 0.5913 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.2285, allocations: 409.1 kB / 0.5917 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.256e-05/0.2286, allocations: 101 kB / 0.5918 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.392e-05/0.2286, allocations: 113 kB / 0.5919 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.735e-05/0.2287, allocations: 180.2 kB / 0.592 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.605e-05/0.2287, allocations: 176.3 kB / 0.5922 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.956e-05/0.2288, allocations: 180.2 kB / 0.5924 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.818e-05/0.2289, allocations: 180.3 kB / 0.5925 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.229, allocations: 315.7 kB / 0.5928 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.738e-05/0.2291, allocations: 178.1 kB / 0.593 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.59e-05/0.2292, allocations: 188.2 kB / 0.5932 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.2294, allocations: 109 kB / 0.5933 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.146e-05/0.2295, allocations: 184.3 kB / 0.5935 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.141e-05/0.2295, allocations: 104.9 kB / 0.5936 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.795e-05/0.2295, allocations: 87.27 kB / 0.5937 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2295, allocations: 0 / 0.5937 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002379/0.2298, allocations: 15.94 kB / 0.5937 GB, free: 10.53 MB / 0.4981 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.0002787/0.2301, allocations: 206.4 kB / 0.5939 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.417e-05/0.2302, allocations: 12 kB / 0.5939 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.2302, allocations: 3.938 kB / 0.5939 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.2302, allocations: 0 / 0.5939 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.2306, allocations: 459.7 kB / 0.5943 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002858/0.2309, allocations: 170.2 kB / 0.5945 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.2311, allocations: 0.6767 MB / 0.5951 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.368e-05/0.2312, allocations: 12.28 kB / 0.5952 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.873e-05/0.2312, allocations: 7.438 kB / 0.5952 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.2312, allocations: 0 / 0.5952 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of Templates: time 0.003035/0.2343, allocations: 0.6461 MB / 0.5958 GB, free: 8.297 MB / 0.4981 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)