Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ConservationEquation.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.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Annex60.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3128/0.3128, allocations: 55.01 MB / 69.96 MB, free: 8.691 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.001151/0.001151, allocations: 180 kB / 83.97 MB, free: 10.87 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.685/1.685, allocations: 194.4 MB / 292.3 MB, free: 3.574 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.001641/0.001641, allocations: 103.3 kB / 350.7 MB, free: 9.098 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003641, allocations: 16 kB / 418.9 MB, free: 37.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1371, allocations: 57.65 MB / 476.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8969/1.034, allocations: 329.3 MB / 0.7869 GB, free: 99.71 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/1.034, allocations: 94.62 kB / 0.787 GB, free: 99.66 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.722/1.756, allocations: 235.6 MB / 1.017 GB, free: 70.97 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.798e-06/1.756, allocations: 0 / 1.017 GB, free: 70.97 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.987e-05/1.756, allocations: 19.98 kB / 1.017 GB, free: 70.95 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002306/1.759, allocations: 1.023 MB / 1.018 GB, free: 69.87 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/1.759, allocations: 8.031 kB / 1.018 GB, free: 69.86 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/1.76, allocations: 187 kB / 1.018 GB, free: 69.68 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02115/1.781, allocations: 11.22 MB / 1.029 GB, free: 58.29 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000309/1.782, allocations: 104.9 kB / 1.029 GB, free: 58.19 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.014e-05/1.782, allocations: 47.98 kB / 1.029 GB, free: 58.14 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001817/1.783, allocations: 0.7799 MB / 1.03 GB, free: 57.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/1.783, allocations: 0 / 1.03 GB, free: 57.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.05e-05/1.784, allocations: 20 kB / 1.03 GB, free: 57.29 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.348e-05/1.784, allocations: 12 kB / 1.03 GB, free: 57.27 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001732/1.785, allocations: 0.636 MB / 1.031 GB, free: 56.63 MB / 0.4948 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.002822/1.788, allocations: 3.146 MB / 1.034 GB, free: 53.24 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/1.79, allocations: 0.5457 MB / 1.034 GB, free: 52.68 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.088e-05/1.79, allocations: 4.234 kB / 1.034 GB, free: 52.68 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00131/1.791, allocations: 493.6 kB / 1.035 GB, free: 52.17 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 2.594e-06/1.791, allocations: 0 / 1.035 GB, free: 52.17 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.003155/1.794, allocations: 1.059 MB / 1.036 GB, free: 51.08 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.422e-05/1.795, allocations: 195.8 kB / 1.036 GB, free: 50.85 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005424/1.795, allocations: 466.3 kB / 1.037 GB, free: 50.38 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.594e-05/1.795, allocations: 33.7 kB / 1.037 GB, free: 50.34 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/1.795, allocations: 323.8 kB / 1.037 GB, free: 50.02 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.367e-05/1.795, allocations: 110.5 kB / 1.037 GB, free: 49.91 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.3e-05/1.795, allocations: 4 kB / 1.037 GB, free: 49.91 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.854e-05/1.796, allocations: 370.8 kB / 1.037 GB, free: 49.54 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005985/1.796, allocations: 240.6 kB / 1.038 GB, free: 49.29 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006991/1.797, allocations: 410.9 kB / 1.038 GB, free: 48.82 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006828/1.798, allocations: 309.2 kB / 1.038 GB, free: 48.51 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.798, allocations: 0 / 1.038 GB, free: 48.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001497/1.799, allocations: 0.7243 MB / 1.039 GB, free: 47.77 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002764/1.799, allocations: 1.346 MB / 1.04 GB, free: 46.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/1.799, allocations: 4 kB / 1.04 GB, free: 46.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.624e-05/1.799, allocations: 4 kB / 1.04 GB, free: 46.31 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000784/1.8, allocations: 163.8 kB / 1.04 GB, free: 46.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002966/1.801, allocations: 0.5978 MB / 1.041 GB, free: 45.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008537/1.801, allocations: 127.4 kB / 1.041 GB, free: 45.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.904e-05/1.801, allocations: 24 kB / 1.041 GB, free: 45.38 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/1.801, allocations: 4 kB / 1.041 GB, free: 45.38 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009843/1.802, allocations: 0.5481 MB / 1.042 GB, free: 44.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/1.802, allocations: 4 kB / 1.042 GB, free: 44.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.002e-06/1.802, allocations: 4 kB / 1.042 GB, free: 44.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005363/1.803, allocations: 132 kB / 1.042 GB, free: 44.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002235/1.803, allocations: 0.5977 MB / 1.042 GB, free: 44.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005936/1.804, allocations: 87.64 kB / 1.043 GB, free: 43.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.853e-05/1.804, allocations: 27.98 kB / 1.043 GB, free: 43.95 MB / 0.4948 GB Warning: Assuming fixed start value for the following 1 variables: dyn.m:VARIABLE(min = max(0.0, 0.0) unit = "kg" fixed = true ) "Mass of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004817/1.804, allocations: 327.1 kB / 1.043 GB, free: 43.62 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.752e-05/1.804, allocations: 59.34 kB / 1.043 GB, free: 43.56 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001638/1.806, allocations: 0.7028 MB / 1.044 GB, free: 42.84 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.789e-06/1.806, allocations: 11.94 kB / 1.044 GB, free: 42.83 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-06/1.806, allocations: 0 / 1.044 GB, free: 42.83 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001404/1.808, allocations: 0.8639 MB / 1.044 GB, free: 41.89 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002149/1.81, allocations: 1.264 MB / 1.046 GB, free: 40.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/1.81, allocations: 0 / 1.046 GB, free: 40.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005702/1.81, allocations: 119.8 kB / 1.046 GB, free: 40.44 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001057/1.81, allocations: 24.84 kB / 1.046 GB, free: 40.41 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.555e-05/1.81, allocations: 16 kB / 1.046 GB, free: 40.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002146/1.811, allocations: 0.5446 MB / 1.046 GB, free: 39.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/1.811, allocations: 0 / 1.046 GB, free: 39.82 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002147/1.813, allocations: 1.138 MB / 1.047 GB, free: 38.64 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003247/1.813, allocations: 192.1 kB / 1.048 GB, free: 38.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.647e-05/1.813, allocations: 16.06 kB / 1.048 GB, free: 38.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006629/1.814, allocations: 95.75 kB / 1.048 GB, free: 38.32 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.875e-05/1.814, allocations: 19.92 kB / 1.048 GB, free: 38.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.915e-05/1.814, allocations: 20 kB / 1.048 GB, free: 38.29 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003877/1.815, allocations: 366.8 kB / 1.048 GB, free: 37.93 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.11e-07/1.815, allocations: 0 / 1.048 GB, free: 37.93 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001154/1.816, allocations: 379.5 kB / 1.049 GB, free: 37.56 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (dyn.U,dyn.m) * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 1 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006785/1.816, allocations: 390.3 kB / 1.049 GB, free: 37.18 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002269/1.819, allocations: 1.027 MB / 1.05 GB, free: 36.13 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/1.819, allocations: 4 kB / 1.05 GB, free: 36.13 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007583/1.819, allocations: 379.3 kB / 1.05 GB, free: 35.75 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/1.821, allocations: 265.5 kB / 1.051 GB, free: 35.49 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/1.823, allocations: 1.511 MB / 1.052 GB, free: 33.95 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/1.823, allocations: 0.9021 MB / 1.053 GB, free: 33.02 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0006623/1.824, allocations: 144.6 kB / 1.053 GB, free: 32.88 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/1.824, allocations: 55.41 kB / 1.053 GB, free: 32.82 MB / 0.4948 GB Notification: Performance of SimCode: time 9.21e-07/1.824, allocations: 0 / 1.053 GB, free: 32.82 MB / 0.4948 GB Notification: Performance of Templates: time 0.01854/1.843, allocations: 12.45 MB / 1.065 GB, free: 20.4 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ConservationEquation.sim & ./Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)