Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002024/0.002024, allocations: 171.3 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.367/1.367, allocations: 170.7 MB / 178.7 MB, free: 15.64 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001578/0.001578, allocations: 111.4 kB / 218 MB, free: 8.406 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.746e-05/1.742e-05, allocations: 4 kB / 262.2 MB, free: 26.38 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07279/0.07282, allocations: 38.77 MB / 301 MB, free: 3.617 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.096/1.169, allocations: 428.3 MB / 0.7122 GB, free: 128.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/1.169, allocations: 86.83 kB / 0.7123 GB, free: 128.5 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4873/1.656, allocations: 153.4 MB / 0.862 GB, free: 71.74 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.364e-06/1.656, allocations: 0.8438 kB / 0.862 GB, free: 71.74 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.696e-05/1.656, allocations: 14.62 kB / 0.8621 GB, free: 71.74 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001329/1.658, allocations: 0.5873 MB / 0.8626 GB, free: 71.39 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/1.658, allocations: 9.781 kB / 0.8626 GB, free: 71.39 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004013/1.658, allocations: 46.53 kB / 0.8627 GB, free: 71.38 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004481/1.658, allocations: 277.5 kB / 0.863 GB, free: 71.17 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/1.658, allocations: 10.84 kB / 0.863 GB, free: 71.17 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.712e-05/1.659, allocations: 19.33 kB / 0.863 GB, free: 71.17 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003372/1.659, allocations: 174 kB / 0.8631 GB, free: 71.17 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004148/1.659, allocations: 279.6 kB / 0.8634 GB, free: 71.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/1.659, allocations: 0 / 0.8634 GB, free: 71.07 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.43e-05/1.659, allocations: 6.047 kB / 0.8634 GB, free: 71.07 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/1.659, allocations: 4.531 kB / 0.8634 GB, free: 71.07 MB / 346.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/1.661, allocations: 1.553 MB / 0.8649 GB, free: 69.94 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002183/1.661, allocations: 140.5 kB / 0.8651 GB, free: 69.91 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/1.661, allocations: 81.81 kB / 0.8652 GB, free: 69.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.369e-05/1.661, allocations: 1.094 kB / 0.8652 GB, free: 69.91 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/1.662, allocations: 38 kB / 0.8652 GB, free: 69.87 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 1.793e-06/1.662, allocations: 0 / 0.8652 GB, free: 69.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.003933/1.665, allocations: 0.9917 MB / 0.8662 GB, free: 69.45 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/1.666, allocations: 58.62 kB / 0.8662 GB, free: 69.39 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/1.666, allocations: 203.3 kB / 0.8664 GB, free: 69.29 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/1.666, allocations: 25.7 kB / 0.8664 GB, free: 69.26 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.376e-05/1.666, allocations: 184.4 kB / 0.8666 GB, free: 69.14 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.653e-05/1.666, allocations: 90.02 kB / 0.8667 GB, free: 69.09 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.811e-05/1.666, allocations: 3.062 kB / 0.8667 GB, free: 69.09 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.632e-05/1.666, allocations: 334.1 kB / 0.867 GB, free: 68.78 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/1.666, allocations: 81.38 kB / 0.8671 GB, free: 68.78 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/1.666, allocations: 169.5 kB / 0.8673 GB, free: 68.67 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/1.666, allocations: 114.4 kB / 0.8674 GB, free: 68.67 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.666, allocations: 0 / 0.8674 GB, free: 68.67 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005586/1.667, allocations: 353.7 kB / 0.8677 GB, free: 68.61 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/1.667, allocations: 7.859 kB / 0.8677 GB, free: 68.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/1.667, allocations: 6.062 kB / 0.8677 GB, free: 68.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002006/1.667, allocations: 63.38 kB / 0.8678 GB, free: 68.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003139/1.668, allocations: 86.06 kB / 0.8679 GB, free: 68.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/1.669, allocations: 1.809 MB / 0.8696 GB, free: 66.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002576/1.669, allocations: 10.7 kB / 0.8696 GB, free: 66.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.121e-05/1.669, allocations: 38.3 kB / 0.8697 GB, free: 66.88 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001113/1.669, allocations: 121.6 kB / 0.8698 GB, free: 66.77 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.768e-05/1.669, allocations: 23.5 kB / 0.8698 GB, free: 66.76 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006884/1.67, allocations: 351.5 kB / 0.8701 GB, free: 66.71 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/1.67, allocations: 6.062 kB / 0.8702 GB, free: 66.71 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/1.67, allocations: 0 / 0.8702 GB, free: 66.71 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003849/1.67, allocations: 0.5456 MB / 0.8707 GB, free: 66.25 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009385/1.671, allocations: 0.6629 MB / 0.8713 GB, free: 65.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/1.671, allocations: 0 / 0.8713 GB, free: 65.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003037/1.672, allocations: 64.91 kB / 0.8714 GB, free: 65.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.141e-05/1.672, allocations: 24.94 kB / 0.8714 GB, free: 65.94 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.097e-05/1.672, allocations: 13.69 kB / 0.8714 GB, free: 65.94 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007142/1.672, allocations: 1.229 MB / 0.8726 GB, free: 64.75 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/1.672, allocations: 7.547 kB / 0.8726 GB, free: 64.75 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000588/1.673, allocations: 471.2 kB / 0.8731 GB, free: 64.54 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/1.673, allocations: 99.02 kB / 0.8732 GB, free: 64.44 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.82e-05/1.673, allocations: 2.25 kB / 0.8732 GB, free: 64.44 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/1.673, allocations: 17.66 kB / 0.8732 GB, free: 64.43 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/1.673, allocations: 29.19 kB / 0.8732 GB, free: 64.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.912e-05/1.674, allocations: 28.75 kB / 0.8733 GB, free: 64.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001166/1.674, allocations: 153.3 kB / 0.8734 GB, free: 64.35 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/1.674, allocations: 3.906 kB / 0.8734 GB, free: 64.35 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007042/1.674, allocations: 167.4 kB / 0.8736 GB, free: 64.35 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001397/1.676, allocations: 0.897 MB / 0.8744 GB, free: 64.2 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000555/1.676, allocations: 343.1 kB / 0.8748 GB, free: 64.09 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/1.676, allocations: 0 / 0.8748 GB, free: 64.09 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002021/1.677, allocations: 215.1 kB / 0.875 GB, free: 63.99 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007167/1.677, allocations: 124.1 kB / 0.8751 GB, free: 63.99 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008234/1.678, allocations: 481.9 kB / 0.8756 GB, free: 63.82 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/1.678, allocations: 0.7669 MB / 0.8763 GB, free: 63.12 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005499/1.679, allocations: 113.3 kB / 0.8764 GB, free: 63.11 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001925/1.679, allocations: 66.05 kB / 0.8765 GB, free: 63.11 MB / 346.7 MB Notification: Performance of SimCode: time 6.11e-07/1.679, allocations: 0 / 0.8765 GB, free: 63.11 MB / 346.7 MB Notification: Performance of Templates: time 0.01681/1.696, allocations: 11.25 MB / 0.8875 GB, free: 62.68 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe 2>&1)