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.3065/0.3065, allocations: 54.42 MB / 61.89 MB, free: 13.74 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.00114/0.00114, allocations: 190.8 kB / 75.62 MB, free: 0.7656 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.482/1.482, allocations: 194.3 MB / 283.5 MB, free: 14.8 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.001472/0.001472, allocations: 105.6 kB / 341.6 MB, free: 4.043 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.886e-05/1.89e-05, allocations: 4 kB / 405.5 MB, free: 4.152 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3789/0.3789, allocations: 57.65 MB / 463.1 MB, free: 51.79 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.712/1.091, allocations: 360.5 MB / 0.8043 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/1.091, allocations: 90.52 kB / 0.8044 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.146/7.238, allocations: 1.443 GB / 2.248 GB, free: 52.95 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.755e-06/7.238, allocations: 3.906 kB / 2.248 GB, free: 52.95 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.002441/7.24, allocations: 242.5 kB / 2.248 GB, free: 52.9 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.03887/7.279, allocations: 6.96 MB / 2.255 GB, free: 50.5 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 8.069e-05/7.279, allocations: 12.78 kB / 2.255 GB, free: 50.5 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01595/7.295, allocations: 1.232 MB / 2.256 GB, free: 50.01 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04436/7.339, allocations: 13.43 MB / 2.269 GB, free: 48.68 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006985/7.34, allocations: 168.3 kB / 2.269 GB, free: 48.68 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004416/7.345, allocations: 345.8 kB / 2.27 GB, free: 48.68 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03795/7.383, allocations: 17.62 MB / 2.287 GB, free: 48.65 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03591/7.419, allocations: 12.43 MB / 2.299 GB, free: 47.7 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004946/7.419, allocations: 27.41 kB / 2.299 GB, free: 47.7 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004755/7.424, allocations: 15.22 kB / 2.299 GB, free: 47.7 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001217/7.424, allocations: 136 kB / 2.299 GB, free: 47.7 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.1063/7.53, allocations: 55.21 MB / 2.353 GB, free: 27.73 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01381/7.544, allocations: 9.128 MB / 2.362 GB, free: 27.66 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01545/7.56, allocations: 9.383 MB / 2.371 GB, free: 27.41 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05144/7.611, allocations: 25.01 MB / 2.396 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01679/7.628, allocations: 8.262 MB / 2.404 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05442/7.683, allocations: 19 MB / 2.422 GB, free: 8.168 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=363): time 7.692e-05/7.683, allocations: 0 / 2.422 GB, free: 8.168 MB / 0.5417 GB Notification: Performance of matching and sorting (n=384): time 0.6445/8.327, allocations: 38.47 MB / 2.46 GB, free: 49.21 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001468/8.327, allocations: 229.1 kB / 2.46 GB, free: 48.98 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01354/8.341, allocations: 5.909 MB / 2.466 GB, free: 48.61 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.002933/8.344, allocations: 35.59 kB / 2.466 GB, free: 48.58 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.004843/8.349, allocations: 3.646 MB / 2.469 GB, free: 47.77 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.004379/8.353, allocations: 1.307 MB / 2.471 GB, free: 47.09 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0014/8.355, allocations: 1.281 kB / 2.471 GB, free: 47.09 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0004154/8.355, allocations: 497.4 kB / 2.471 GB, free: 46.78 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01042/8.365, allocations: 6.836 MB / 2.478 GB, free: 46.77 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01463/8.38, allocations: 8.39 MB / 2.486 GB, free: 44.93 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01917/8.399, allocations: 8.293 MB / 2.494 GB, free: 44.88 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001717/8.4, allocations: 10.5 kB / 2.494 GB, free: 44.88 MB / 0.5417 GB Notification: Performance of matching and sorting (n=601) (initialization): time 0.05896/8.459, allocations: 19.01 MB / 2.513 GB, free: 44.35 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.006164/8.465, allocations: 19.68 MB / 2.532 GB, free: 23.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002541/8.465, allocations: 39.53 kB / 2.532 GB, free: 23.64 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005966/8.471, allocations: 2.202 MB / 2.534 GB, free: 23.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01039/8.481, allocations: 1.637 MB / 2.536 GB, free: 23.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01987/8.501, allocations: 8.669 MB / 2.544 GB, free: 20.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01468/8.516, allocations: 455.8 kB / 2.545 GB, free: 20.72 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004103/8.52, allocations: 0.5453 MB / 2.545 GB, free: 20.72 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/8.52, allocations: 3.406 kB / 2.545 GB, free: 20.72 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04382/8.564, allocations: 17.17 MB / 2.562 GB, free: 20.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002484/8.564, allocations: 39.34 kB / 2.562 GB, free: 20.45 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004391/8.569, allocations: 1.609 MB / 2.563 GB, free: 20.41 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01048/8.579, allocations: 1.637 MB / 2.565 GB, free: 20.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02074/8.6, allocations: 11.2 MB / 2.576 GB, free: 31.92 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01327/8.613, allocations: 384.8 kB / 2.576 GB, free: 31.89 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004044/8.618, allocations: 0.5353 MB / 2.577 GB, free: 31.89 MB / 0.5573 GB 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 (549): * Single equations (assignments): 543 * 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: 4 * 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: 3 {1 3,20 21,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.007104/8.625, allocations: 240.4 kB / 2.577 GB, free: 31.78 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005371/8.63, allocations: 0.6853 MB / 2.578 GB, free: 31.42 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0543/8.684, allocations: 18.31 MB / 2.596 GB, free: 26.49 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001639/8.685, allocations: 59.72 kB / 2.596 GB, free: 26.48 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.112e-05/8.685, allocations: 0 / 2.596 GB, free: 26.48 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03416/8.719, allocations: 13.27 MB / 2.609 GB, free: 20.98 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07255/8.792, allocations: 27.73 MB / 2.636 GB, free: 3.961 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.399e-05/8.792, allocations: 12 kB / 2.636 GB, free: 3.949 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004977/8.797, allocations: 0.5307 MB / 2.636 GB, free: 3.535 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006142/8.803, allocations: 2.512 MB / 2.639 GB, free: 1.398 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001439/8.804, allocations: 92.7 kB / 2.639 GB, free: 1.332 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5471/9.351, allocations: 26.34 MB / 2.665 GB, free: 71.26 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.762e-05/9.351, allocations: 21.16 kB / 2.665 GB, free: 71.26 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04437/9.396, allocations: 24.01 MB / 2.688 GB, free: 68.21 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008417/9.404, allocations: 2.034 MB / 2.69 GB, free: 67.83 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004125/9.408, allocations: 30.78 kB / 2.69 GB, free: 67.83 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01074/9.419, allocations: 415.3 kB / 2.69 GB, free: 67.8 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00231/9.422, allocations: 331.2 kB / 2.691 GB, free: 67.79 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001228/9.423, allocations: 213.9 kB / 2.691 GB, free: 67.79 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.009961/9.433, allocations: 4.518 MB / 2.695 GB, free: 67.57 MB / 0.573 GB Notification: Performance of sort global known variables: time 5.41e-07/9.433, allocations: 0 / 2.695 GB, free: 67.57 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02749/9.46, allocations: 4.302 MB / 2.7 GB, free: 67.57 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 22 (pump.vol.dynBal.U,hea.heaCoo.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].dynBal.U) * 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 (303): * Single equations (assignments): 273 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 25 * 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: 24 {1 3,2 5,2 5,20 21,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003466/9.464, allocations: 1.181 MB / 2.701 GB, free: 67.39 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.04555/9.509, allocations: 25.69 MB / 2.726 GB, free: 66.64 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.002e-05/9.509, allocations: 5.406 kB / 2.726 GB, free: 66.64 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01597/9.525, allocations: 8.178 MB / 2.734 GB, free: 66.2 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02402/9.55, allocations: 4.13 MB / 2.738 GB, free: 66.12 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03464/9.584, allocations: 18.17 MB / 2.756 GB, free: 62.82 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004838/9.589, allocations: 5.327 MB / 2.761 GB, free: 61.83 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.03059/9.62, allocations: 7.468 MB / 2.768 GB, free: 60.71 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005357/9.625, allocations: 0.7399 MB / 2.769 GB, free: 60.71 MB / 0.573 GB Notification: Performance of SimCode: time 1.603e-06/9.625, allocations: 0 / 2.769 GB, free: 60.71 MB / 0.573 GB Notification: Performance of Templates: time 0.6709/10.3, allocations: 223.3 MB / 2.987 GB, free: 58.59 MB / 0.573 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)