Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterProperties.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: translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterProperties") translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006569/0.006569, allocations: 104.3 kB / 15.73 MB, free: 5.992 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.00125/0.001251, allocations: 187 kB / 16.67 MB, free: 5.93 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7666/0.7666, allocations: 132.2 MB / 422.7 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 62.7 kB / 0.5814 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1868, allocations: 80.19 MB / 0.6597 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.005451/0.1923, allocations: 4.726 MB / 0.6643 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002709/0.195, allocations: 2.706 MB / 0.667 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.763e-05/0.1951, allocations: 0 / 0.667 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002647/0.1954, allocations: 51.69 kB / 0.667 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002571/0.1957, allocations: 99.34 kB / 0.6671 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.1967, allocations: 0.5035 MB / 0.6676 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002415/0.197, allocations: 232 kB / 0.6678 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.029e-05/0.1971, allocations: 13.56 kB / 0.6678 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001925/0.1973, allocations: 123.5 kB / 0.6679 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.1974, allocations: 87.66 kB / 0.668 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.1974, allocations: 11.94 kB / 0.668 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006169/0.198, allocations: 359.4 kB / 0.6684 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.114e-05/0.1981, allocations: 43.88 kB / 0.6684 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.881e-05/0.1982, allocations: 83.53 kB / 0.6685 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005364/0.1988, allocations: 351.2 kB / 0.6688 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1988, allocations: 0 / 0.6688 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.096e-06/0.1988, allocations: 4 kB / 0.6688 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.1988, allocations: 4 kB / 0.6688 GB, free: 4.062 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.000767/0.1996, allocations: 0.4992 MB / 0.6693 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.1996, allocations: 12.03 kB / 0.6693 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001654/0.1998, allocations: 20.75 kB / 0.6694 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.2001, allocations: 212.1 kB / 0.6696 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.2001, allocations: 12.7 kB / 0.6696 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.2001, allocations: 16.31 kB / 0.6696 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003708/0.2005, allocations: 252.9 kB / 0.6698 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.2005, allocations: 0 / 0.6698 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.354e-05/0.2006, allocations: 8 kB / 0.6698 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.787e-05/0.2006, allocations: 11.97 kB / 0.6699 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004592/0.201, allocations: 431.4 kB / 0.6703 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.2022, allocations: 0.9565 MB / 0.6712 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.2024, allocations: 155.2 kB / 0.6713 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.2026, allocations: 69.75 kB / 0.6714 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001297/0.2039, allocations: 1.829 MB / 0.6732 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.2039, allocations: 34.56 kB / 0.6732 GB, free: 15 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.794e-06/0.2039, allocations: 0 / 0.6732 GB, free: 15 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003292/0.2042, allocations: 141.5 kB / 0.6734 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.2043, allocations: 63.34 kB / 0.6734 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.2044, allocations: 165.6 kB / 0.6736 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.2045, allocations: 33.64 kB / 0.6736 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.76e-05/0.2046, allocations: 151.7 kB / 0.6738 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.338e-05/0.2046, allocations: 51.2 kB / 0.6738 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.455e-05/0.2047, allocations: 53.7 kB / 0.6739 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.2048, allocations: 318.8 kB / 0.6742 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.787e-05/0.2049, allocations: 39.97 kB / 0.6742 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.205, allocations: 142.9 kB / 0.6743 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002308/0.2053, allocations: 204.4 kB / 0.6745 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.2053, allocations: 4 kB / 0.6745 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003092/0.2056, allocations: 213.1 kB / 0.6747 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.2056, allocations: 8 kB / 0.6748 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.2056, allocations: 4 kB / 0.6748 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.2056, allocations: 4.469 kB / 0.6748 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.2058, allocations: 51.86 kB / 0.6748 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.2058, allocations: 15.98 kB / 0.6748 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.206, allocations: 27.69 kB / 0.6749 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.206, allocations: 12 kB / 0.6749 GB, free: 13.17 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 0.0001153/0.2061, allocations: 137.7 kB / 0.675 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.865e-05/0.2062, allocations: 15.81 kB / 0.675 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002788/0.2064, allocations: 151.1 kB / 0.6752 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.2065, allocations: 7.938 kB / 0.6752 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.2065, allocations: 0 / 0.6752 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.2065, allocations: 4 kB / 0.6752 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/0.2067, allocations: 217.5 kB / 0.6754 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2067, allocations: 0 / 0.6754 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.868e-05/0.2068, allocations: 27.94 kB / 0.6754 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2068, allocations: 0 / 0.6754 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.2069, allocations: 11.97 kB / 0.6754 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.2069, allocations: 3.938 kB / 0.6754 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2069, allocations: 0 / 0.6754 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.2071, allocations: 218.6 kB / 0.6756 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.555e-05/0.2072, allocations: 108.9 kB / 0.6757 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.2072, allocations: 11.92 kB / 0.6757 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.2075, allocations: 11.94 kB / 0.6757 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.37e-05/0.2075, allocations: 11.98 kB / 0.6758 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/0.2075, allocations: 15.98 kB / 0.6758 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.88e-05/0.2076, allocations: 121.6 kB / 0.6759 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2076, allocations: 3.938 kB / 0.6759 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003725/0.208, allocations: 79.92 kB / 0.676 GB, free: 11.95 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0003047/0.2083, allocations: 179.1 kB / 0.6761 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002277/0.2085, allocations: 120.5 kB / 0.6763 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.2086, allocations: 4 kB / 0.6763 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.324e-05/0.2086, allocations: 43.92 kB / 0.6763 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.2091, allocations: 43.97 kB / 0.6763 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006541/0.2097, allocations: 345.4 kB / 0.6767 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.21, allocations: 0.7129 MB / 0.6774 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000161/0.2102, allocations: 49.83 kB / 0.6774 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.213e-05/0.2102, allocations: 27.44 kB / 0.6774 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.2102, allocations: 0 / 0.6774 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of Templates: time 0.007022/0.2173, allocations: 3.436 MB / 0.6808 GB, free: 6.992 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Media.Examples.WaterProperties.makefile (rm -f IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterProperties.sim & ./IDEAS_IDEAS.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterProperties.pipe 2>&1)