Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example1v2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example1v2") translateModel(Annex60.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3264/0.3264, allocations: 54.34 MB / 66.89 MB, free: 6.09 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001022/0.001022, allocations: 186.8 kB / 80.71 MB, free: 15.39 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.563/1.563, allocations: 194.2 MB / 288.6 MB, free: 14.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001702/0.001701, allocations: 111.5 kB / 346.9 MB, free: 4.719 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.864e-05/2.866e-05, allocations: 0 / 412.4 MB, free: 21.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1228, allocations: 57.64 MB / 470 MB, free: 11.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.029/1.152, allocations: 361.1 MB / 0.8117 GB, free: 17.32 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/1.152, allocations: 92.05 kB / 0.8118 GB, free: 17.28 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.123/7.275, allocations: 1.452 GB / 2.263 GB, free: 54.61 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.294e-06/7.275, allocations: 0 / 2.263 GB, free: 54.61 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.001891/7.277, allocations: 246.4 kB / 2.264 GB, free: 54.56 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1336 * Number of variables: 1336 Notification: Performance of Generate backend data structure: time 0.03276/7.309, allocations: 6.966 MB / 2.27 GB, free: 51.99 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/7.309, allocations: 8.875 kB / 2.27 GB, free: 51.99 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009707/7.319, allocations: 1.224 MB / 2.272 GB, free: 51.51 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03881/7.358, allocations: 13.44 MB / 2.285 GB, free: 50.18 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006585/7.359, allocations: 410.8 kB / 2.285 GB, free: 50.16 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003802/7.362, allocations: 0.554 MB / 2.286 GB, free: 50.16 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03827/7.401, allocations: 13.82 MB / 2.299 GB, free: 49.17 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004576/7.401, allocations: 22.47 kB / 2.299 GB, free: 49.17 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003414/7.405, allocations: 234.1 kB / 2.299 GB, free: 49.17 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001112/7.405, allocations: 132 kB / 2.299 GB, free: 49.17 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03395/7.439, allocations: 18.45 MB / 2.317 GB, free: 49.12 MB / 0.5417 GB 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.1174/7.556, allocations: 55.96 MB / 2.372 GB, free: 29.27 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01862/7.575, allocations: 9.758 MB / 2.382 GB, free: 27.37 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0136/7.589, allocations: 9.452 MB / 2.391 GB, free: 23.58 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05018/7.639, allocations: 25.06 MB / 2.415 GB, free: 8.57 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02034/7.659, allocations: 8.891 MB / 2.424 GB, free: 2.016 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.5989/8.258, allocations: 20.89 MB / 2.444 GB, free: 55.13 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=363): time 5.094e-05/8.258, allocations: 1.531 kB / 2.444 GB, free: 55.13 MB / 0.5417 GB Notification: Performance of matching and sorting (n=463): time 0.3017/8.56, allocations: 176.6 MB / 2.617 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000232/8.56, allocations: 230.6 kB / 2.617 GB, free: 14.32 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01898/8.579, allocations: 6.897 MB / 2.624 GB, free: 8.414 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.003596/8.583, allocations: 125.7 kB / 2.624 GB, free: 8.285 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.004975/8.588, allocations: 3.651 MB / 2.628 GB, free: 5.211 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.005171/8.593, allocations: 1.61 MB / 2.629 GB, free: 3.969 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002091/8.595, allocations: 105.6 kB / 2.629 GB, free: 3.867 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000482/8.596, allocations: 0.5123 MB / 2.63 GB, free: 3.41 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02503/8.621, allocations: 8.306 MB / 2.638 GB, free: 0 / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4781/9.099, allocations: 9.525 MB / 2.647 GB, free: 81.03 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0172/9.116, allocations: 8.201 MB / 2.655 GB, free: 80.94 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001038/9.116, allocations: 12 kB / 2.655 GB, free: 80.94 MB / 0.573 GB Notification: Performance of matching and sorting (n=681) (initialization): time 0.05791/9.174, allocations: 19.68 MB / 2.674 GB, free: 80.73 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.004823/9.179, allocations: 20.26 MB / 2.694 GB, free: 60.02 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001822/9.179, allocations: 43.25 kB / 2.694 GB, free: 60.02 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06307/9.242, allocations: 11.44 MB / 2.705 GB, free: 59.97 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01098/9.253, allocations: 1.923 MB / 2.707 GB, free: 59.97 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01404/9.268, allocations: 8.33 MB / 2.715 GB, free: 56.57 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01359/9.281, allocations: 0.5759 MB / 2.716 GB, free: 56.54 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003366/9.285, allocations: 0.5663 MB / 2.716 GB, free: 56.54 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/9.285, allocations: 11.02 kB / 2.716 GB, free: 56.54 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03777/9.322, allocations: 18.21 MB / 2.734 GB, free: 56.15 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002066/9.323, allocations: 38.34 kB / 2.734 GB, free: 56.15 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06355/9.386, allocations: 10.81 MB / 2.745 GB, free: 55.34 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0119/9.398, allocations: 1.901 MB / 2.747 GB, free: 55.32 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01441/9.413, allocations: 11.32 MB / 2.758 GB, free: 50.23 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0119/9.425, allocations: 0.5086 MB / 2.758 GB, free: 50.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003162/9.428, allocations: 0.5517 MB / 2.759 GB, free: 50.2 MB / 0.573 GB Warning: Assuming fixed start value for the following 1 variables: pump.vol.dynBal.m:VARIABLE(min = max(0.0, 0.0) start = 0.0001004433569776996 * pump.vol.rho_start unit = "kg" protected = true ) "Mass of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (631): * Single equations (assignments): 624 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * 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: 4 {1 3,1 3,1 1,20 21} Notification: Performance of prepare postOptimizeDAE: time 0.005122/9.433, allocations: 446.5 kB / 2.759 GB, free: 50.09 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003688/9.437, allocations: 0.7704 MB / 2.76 GB, free: 50.09 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03813/9.475, allocations: 18.01 MB / 2.778 GB, free: 49.34 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.052e-05/9.475, allocations: 65.3 kB / 2.778 GB, free: 49.34 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.386e-05/9.475, allocations: 0 / 2.778 GB, free: 49.34 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02132/9.496, allocations: 12.74 MB / 2.79 GB, free: 48.71 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04731/9.544, allocations: 28.31 MB / 2.818 GB, free: 36.29 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.279e-05/9.544, allocations: 8 kB / 2.818 GB, free: 36.29 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006129/9.55, allocations: 1.026 MB / 2.819 GB, free: 35.42 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05925/9.609, allocations: 10.33 MB / 2.829 GB, free: 27.78 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001616/9.611, allocations: 176.8 kB / 2.829 GB, free: 27.64 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02258/9.633, allocations: 12 MB / 2.841 GB, free: 17.09 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.827e-06/9.633, allocations: 20.06 kB / 2.841 GB, free: 17.07 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4534/10.09, allocations: 25.79 MB / 2.866 GB, free: 75.45 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01028/10.1, allocations: 2.205 MB / 2.868 GB, free: 75.35 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004664/10.1, allocations: 134.9 kB / 2.868 GB, free: 75.35 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01143/10.11, allocations: 0.4973 MB / 2.869 GB, free: 75.35 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002034/10.12, allocations: 377.7 kB / 2.869 GB, free: 75.34 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001048/10.12, allocations: 227.8 kB / 2.869 GB, free: 75.34 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01294/10.13, allocations: 5.383 MB / 2.875 GB, free: 75.05 MB / 0.573 GB Notification: Performance of sort global known variables: time 5.71e-07/10.13, allocations: 0 / 2.875 GB, free: 75.05 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02992/10.16, allocations: 4.533 MB / 2.879 GB, free: 75.05 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * Number of states: 23 (pump.vol.dynBal.U,pump.vol.dynBal.m,hea.heaCoo.T,vol[1].dynBal.medium.T,vol[2].dynBal.medium.T,vol[3].dynBal.medium.T,vol[4].dynBal.medium.T,vol[5].dynBal.medium.T,vol[6].dynBal.medium.T,vol[7].dynBal.medium.T,vol[8].dynBal.medium.T,vol[9].dynBal.medium.T,vol[10].dynBal.medium.T,vol[11].dynBal.medium.T,vol[12].dynBal.medium.T,vol[13].dynBal.medium.T,vol[14].dynBal.medium.T,vol[15].dynBal.medium.T,vol[16].dynBal.medium.T,vol[17].dynBal.medium.T,vol[18].dynBal.medium.T,vol[19].dynBal.medium.T,vol[20].dynBal.medium.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (509): * Single equations (assignments): 479 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 23 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * 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: 4 {1 3,20 21,1 3,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.004817/10.16, allocations: 1.32 MB / 2.88 GB, free: 74.87 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.05087/10.22, allocations: 27.14 MB / 2.907 GB, free: 74.02 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.109e-05/10.22, allocations: 5.375 kB / 2.907 GB, free: 74.02 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01515/10.23, allocations: 7.902 MB / 2.914 GB, free: 73.6 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02299/10.25, allocations: 4.789 MB / 2.919 GB, free: 73.51 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03541/10.29, allocations: 19.48 MB / 2.938 GB, free: 70.48 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004328/10.29, allocations: 5.508 MB / 2.944 GB, free: 69.48 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.02991/10.32, allocations: 8.684 MB / 2.952 GB, free: 68.21 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006084/10.33, allocations: 0.841 MB / 2.953 GB, free: 68.2 MB / 0.573 GB Notification: Performance of SimCode: time 2.405e-06/10.33, allocations: 0 / 2.953 GB, free: 68.2 MB / 0.573 GB Notification: Performance of Templates: time 0.7762/11.11, allocations: 251.5 MB / 3.198 GB, free: 74.54 MB / 0.5886 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example1v2.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example1v2.sim & ./Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example1v2.pipe 2>&1)