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.3344/0.3344, allocations: 55.01 MB / 69.96 MB, free: 8.668 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.001441/0.00144, allocations: 185.7 kB / 83.97 MB, free: 10.86 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.982/1.982, allocations: 194.4 MB / 292.3 MB, free: 3.594 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001728/0.001727, allocations: 117.5 kB / 350.7 MB, free: 9.098 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003852/0.0003852, allocations: 12 kB / 418.9 MB, free: 37.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1352, allocations: 57.65 MB / 476.5 MB, free: 11.31 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.018/1.154, allocations: 361.2 MB / 0.8181 GB, free: 67.56 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/1.154, allocations: 96.08 kB / 0.8182 GB, free: 67.51 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.605/6.759, allocations: 1.456 GB / 2.275 GB, free: 25.01 MB / 0.5417 GB Notification: Performance of FrontEnd: time 4.178e-06/6.759, allocations: 1.125 kB / 2.275 GB, free: 25.01 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.002264/6.761, allocations: 243.7 kB / 2.275 GB, free: 24.77 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.03918/6.8, allocations: 8.993 MB / 2.284 GB, free: 16.36 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/6.8, allocations: 8.031 kB / 2.284 GB, free: 16.35 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01017/6.811, allocations: 1.241 MB / 2.285 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04066/6.851, allocations: 13.49 MB / 2.298 GB, free: 4.215 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006132/6.852, allocations: 415.1 kB / 2.298 GB, free: 3.98 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003341/6.855, allocations: 0.5528 MB / 2.299 GB, free: 3.602 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4056/7.261, allocations: 14.11 MB / 2.313 GB, free: 34.49 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001769/7.261, allocations: 26.97 kB / 2.313 GB, free: 34.49 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00148/7.263, allocations: 230.8 kB / 2.313 GB, free: 34.49 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.045e-05/7.263, allocations: 132.1 kB / 2.313 GB, free: 34.49 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03692/7.3, allocations: 18.85 MB / 2.332 GB, free: 34.45 MB / 0.5417 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.09718/7.397, allocations: 56.06 MB / 2.386 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01737/7.414, allocations: 10.04 MB / 2.396 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04179/7.456, allocations: 25.11 MB / 2.421 GB, free: 8.469 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0162/7.472, allocations: 9.123 MB / 2.43 GB, free: 8.312 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04614/7.518, allocations: 19.13 MB / 2.448 GB, free: 7.137 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=363): time 3.467e-05/7.519, allocations: 0 / 2.448 GB, free: 7.137 MB / 0.5417 GB Notification: Performance of matching and sorting (n=463): time 0.7604/8.279, allocations: 188.8 MB / 2.633 GB, free: 49.77 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/8.279, allocations: 231 kB / 2.633 GB, free: 49.55 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01236/8.292, allocations: 6.976 MB / 2.64 GB, free: 47.41 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.002613/8.294, allocations: 126.1 kB / 2.64 GB, free: 47.31 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.003429/8.298, allocations: 3.63 MB / 2.643 GB, free: 44.76 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.004207/8.302, allocations: 1.616 MB / 2.645 GB, free: 43.73 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001241/8.303, allocations: 104.2 kB / 2.645 GB, free: 43.65 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0003313/8.303, allocations: 0.523 MB / 2.645 GB, free: 43.25 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01227/8.316, allocations: 7.486 MB / 2.653 GB, free: 40.51 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01402/8.33, allocations: 9.119 MB / 2.662 GB, free: 35.81 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01466/8.345, allocations: 8.426 MB / 2.67 GB, free: 32.53 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.624e-05/8.345, allocations: 15.52 kB / 2.67 GB, free: 32.53 MB / 0.573 GB Notification: Performance of matching and sorting (n=681) (initialization): time 0.05309/8.398, allocations: 20.25 MB / 2.69 GB, free: 25.73 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.004414/8.402, allocations: 20.26 MB / 2.709 GB, free: 4.738 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001401/8.402, allocations: 39.06 kB / 2.71 GB, free: 4.738 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07192/8.474, allocations: 11.65 MB / 2.721 GB, free: 4.32 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01183/8.486, allocations: 1.921 MB / 2.723 GB, free: 3.465 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01731/8.504, allocations: 8.744 MB / 2.731 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01576/8.519, allocations: 0.5772 MB / 2.732 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005151/8.525, allocations: 0.5688 MB / 2.732 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/8.525, allocations: 4 kB / 2.732 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.4948/9.019, allocations: 19.1 MB / 2.751 GB, free: 75.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001806/9.02, allocations: 40.23 kB / 2.751 GB, free: 75.73 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07107/9.091, allocations: 10.82 MB / 2.762 GB, free: 75.69 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01226/9.103, allocations: 1.905 MB / 2.764 GB, free: 75.69 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01401/9.117, allocations: 11.49 MB / 2.775 GB, free: 70.71 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0129/9.13, allocations: 0.5062 MB / 2.775 GB, free: 70.71 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003313/9.133, allocations: 0.5544 MB / 2.776 GB, free: 70.71 MB / 0.5886 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" fixed = true 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 () * Number of clocked 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.009371/9.143, allocations: 2.685 MB / 2.778 GB, free: 70.51 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003966/9.147, allocations: 0.7695 MB / 2.779 GB, free: 70.51 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04231/9.189, allocations: 18.59 MB / 2.797 GB, free: 70.13 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.841e-05/9.189, allocations: 59.94 kB / 2.797 GB, free: 70.13 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.509e-05/9.189, allocations: 3.25 kB / 2.797 GB, free: 70.13 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02524/9.214, allocations: 13.33 MB / 2.81 GB, free: 69.54 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06359/9.278, allocations: 28.88 MB / 2.839 GB, free: 65.74 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.716e-05/9.278, allocations: 8.875 kB / 2.839 GB, free: 65.74 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006895/9.285, allocations: 1.008 MB / 2.84 GB, free: 65.73 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07191/9.357, allocations: 10.54 MB / 2.85 GB, free: 64.91 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002515/9.36, allocations: 174.7 kB / 2.85 GB, free: 64.91 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04754/9.407, allocations: 13.46 MB / 2.863 GB, free: 59.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-05/9.407, allocations: 21.62 kB / 2.863 GB, free: 59.79 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06942/9.477, allocations: 24.84 MB / 2.888 GB, free: 55.14 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01366/9.49, allocations: 2.2 MB / 2.89 GB, free: 54.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005988/9.497, allocations: 139.1 kB / 2.89 GB, free: 54.08 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01641/9.513, allocations: 0.5036 MB / 2.89 GB, free: 53.95 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003527/9.517, allocations: 369.5 kB / 2.891 GB, free: 53.89 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002158/9.519, allocations: 225.5 kB / 2.891 GB, free: 53.85 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0177/9.537, allocations: 5.464 MB / 2.896 GB, free: 52.13 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8.11e-07/9.537, allocations: 3.844 kB / 2.896 GB, free: 52.13 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.03162/9.568, allocations: 4.528 MB / 2.901 GB, free: 51.82 MB / 0.5886 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) * Number of clocked states: 0 () * 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.004054/9.572, allocations: 1.333 MB / 2.902 GB, free: 51.42 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.054/9.626, allocations: 27.49 MB / 2.929 GB, free: 36.42 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-05/9.626, allocations: 5.938 kB / 2.929 GB, free: 36.41 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.02438/9.651, allocations: 8.163 MB / 2.937 GB, free: 29.32 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03763/9.688, allocations: 4.776 MB / 2.941 GB, free: 25.86 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4979/10.19, allocations: 24.94 MB / 2.966 GB, free: 66.52 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01439/10.2, allocations: 5.496 MB / 2.971 GB, free: 65.64 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.03129/10.23, allocations: 5.849 MB / 2.977 GB, free: 65.55 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00876/10.24, allocations: 0.9875 MB / 2.978 GB, free: 65.55 MB / 0.5886 GB Notification: Performance of SimCode: time 1.473e-06/10.24, allocations: 0 / 2.978 GB, free: 65.55 MB / 0.5886 GB Notification: Performance of Templates: time 0.9404/11.18, allocations: 243.7 MB / 3.216 GB, free: 72.02 MB / 0.6042 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)