Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Examples.ResistanceVolumeFlowReversal.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.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.ResistanceVolumeFlowReversal") translateModel(Annex60.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.ResistanceVolumeFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3124/0.3124, allocations: 54.33 MB / 66.89 MB, free: 6.121 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.001049/0.001049, allocations: 183.9 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.769/1.769, allocations: 194.2 MB / 288.6 MB, free: 15.05 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.001595/0.001595, allocations: 111.6 kB / 346.9 MB, free: 4.785 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.008e-05/4.011e-05, allocations: 4 kB / 412.4 MB, free: 21.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1504, allocations: 57.65 MB / 470 MB, free: 11.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.156/1.306, allocations: 359.8 MB / 0.8103 GB, free: 18.77 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/1.306, allocations: 85.33 kB / 0.8104 GB, free: 18.73 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.804/5.11, allocations: 1.004 GB / 1.814 GB, free: 16.01 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.986e-06/5.11, allocations: 0 / 1.814 GB, free: 16.01 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0008908/5.111, allocations: 143.8 kB / 1.815 GB, free: 15.87 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 793 * Number of variables: 793 Notification: Performance of Generate backend data structure: time 0.01352/5.125, allocations: 4.402 MB / 1.819 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/5.125, allocations: 8.031 kB / 1.819 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005978/5.131, allocations: 0.8233 MB / 1.82 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01827/5.149, allocations: 7.257 MB / 1.827 GB, free: 3.215 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002345/5.149, allocations: 246.2 kB / 1.827 GB, free: 2.973 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009024/5.15, allocations: 329.7 kB / 1.827 GB, free: 2.652 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4163/5.567, allocations: 5.383 MB / 1.833 GB, free: 48.11 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.216e-05/5.567, allocations: 10.42 kB / 1.833 GB, free: 48.11 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006547/5.568, allocations: 136.9 kB / 1.833 GB, free: 48.11 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.205e-05/5.568, allocations: 78.69 kB / 1.833 GB, free: 48.11 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01392/5.582, allocations: 5.077 MB / 1.838 GB, free: 48.07 MB / 0.5261 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.04374/5.625, allocations: 21.63 MB / 1.859 GB, free: 39.05 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00825/5.634, allocations: 2.868 MB / 1.862 GB, free: 39.01 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002994/5.637, allocations: 1.667 MB / 1.863 GB, free: 39 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01749/5.654, allocations: 6.288 MB / 1.869 GB, free: 36.95 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005444/5.66, allocations: 2.152 MB / 1.872 GB, free: 36.86 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007163/5.667, allocations: 2.026 MB / 1.873 GB, free: 36.79 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=158): time 1.566e-05/5.667, allocations: 0.5625 kB / 1.873 GB, free: 36.79 MB / 0.5261 GB Notification: Performance of matching and sorting (n=158): time 0.0359/5.703, allocations: 7.699 MB / 1.881 GB, free: 36.43 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/5.703, allocations: 226.8 kB / 1.881 GB, free: 36.18 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01168/5.715, allocations: 4.201 MB / 1.885 GB, free: 35.85 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007976/5.716, allocations: 66.33 kB / 1.885 GB, free: 35.82 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002807/5.718, allocations: 2.318 MB / 1.888 GB, free: 35.27 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001152/5.72, allocations: 0.572 MB / 1.888 GB, free: 35 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004362/5.72, allocations: 49.69 kB / 1.888 GB, free: 35 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001892/5.72, allocations: 416 kB / 1.889 GB, free: 34.69 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002364/5.723, allocations: 1.485 MB / 1.89 GB, free: 34.68 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002789/5.725, allocations: 2.675 MB / 1.893 GB, free: 33.23 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002668/5.728, allocations: 1.91 MB / 1.895 GB, free: 33.16 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.708e-05/5.728, allocations: 9.5 kB / 1.895 GB, free: 33.16 MB / 0.5261 GB Notification: Performance of matching and sorting (n=330) (initialization): time 0.03534/5.764, allocations: 8.754 MB / 1.903 GB, free: 32.75 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.004634/5.768, allocations: 13.87 MB / 1.917 GB, free: 33.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001036/5.768, allocations: 34.41 kB / 1.917 GB, free: 33.85 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08993/5.858, allocations: 15.54 MB / 1.932 GB, free: 33.59 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003386/5.862, allocations: 0.6938 MB / 1.933 GB, free: 33.58 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009809/5.872, allocations: 5.417 MB / 1.938 GB, free: 31.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006137/5.878, allocations: 327.5 kB / 1.938 GB, free: 31.41 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008114/5.879, allocations: 152.5 kB / 1.938 GB, free: 31.41 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/5.879, allocations: 3.719 kB / 1.938 GB, free: 31.41 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03043/5.909, allocations: 7.878 MB / 1.946 GB, free: 31.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001052/5.909, allocations: 30.72 kB / 1.946 GB, free: 31.07 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08499/5.994, allocations: 15.27 MB / 1.961 GB, free: 30.27 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003063/5.997, allocations: 0.6657 MB / 1.962 GB, free: 30.26 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01007/6.007, allocations: 7.702 MB / 1.969 GB, free: 26.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005088/6.013, allocations: 282.7 kB / 1.969 GB, free: 26.46 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007691/6.013, allocations: 143.8 kB / 1.97 GB, free: 26.46 MB / 0.5417 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: 134 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (279): * Single equations (assignments): 271 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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: 0 * Non-linear torn systems: 4 {11 13,1 3,1 1,10 11} Notification: Performance of prepare postOptimizeDAE: time 0.001391/6.015, allocations: 291.9 kB / 1.97 GB, free: 26.34 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002085/6.017, allocations: 451.2 kB / 1.97 GB, free: 26.11 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02525/6.042, allocations: 6.959 MB / 1.977 GB, free: 25.85 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.575e-05/6.042, allocations: 16.97 kB / 1.977 GB, free: 25.85 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/6.042, allocations: 0 / 1.977 GB, free: 25.85 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01297/6.055, allocations: 6.481 MB / 1.983 GB, free: 24.44 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03505/6.09, allocations: 13.24 MB / 1.996 GB, free: 23.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.071e-05/6.09, allocations: 0 / 1.996 GB, free: 23.32 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002719/6.093, allocations: 449.1 kB / 1.997 GB, free: 23.31 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06123/6.154, allocations: 11.8 MB / 2.008 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007036/6.155, allocations: 48.7 kB / 2.008 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01757/6.173, allocations: 9.087 MB / 2.017 GB, free: 8.012 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/6.173, allocations: 4 kB / 2.017 GB, free: 8.008 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02774/6.2, allocations: 9.948 MB / 2.027 GB, free: 72 kB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004517/6.205, allocations: 1.063 MB / 2.028 GB, free: 15.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00115/6.206, allocations: 32 kB / 2.028 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00357/6.21, allocations: 299.5 kB / 2.028 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004698/6.21, allocations: 111.8 kB / 2.028 GB, free: 14.85 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002767/6.211, allocations: 92.25 kB / 2.028 GB, free: 14.78 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00591/6.216, allocations: 3.238 MB / 2.032 GB, free: 11.99 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.51e-07/6.217, allocations: 0 / 2.032 GB, free: 11.99 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01202/6.229, allocations: 2.688 MB / 2.034 GB, free: 9.488 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pump.vol.dynBal.U,pump.vol.dynBal.m,hea.heaCoo.T,val.filter.x[1],val.filter.x[2]) * 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 (132): * Single equations (assignments): 123 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {10 3,10 11,1 3,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002886/6.231, allocations: 1.24 MB / 2.035 GB, free: 8.574 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01801/6.249, allocations: 7.432 MB / 2.043 GB, free: 1.617 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.181e-05/6.25, allocations: 5.062 kB / 2.043 GB, free: 1.613 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.4123/6.662, allocations: 2.943 MB / 2.046 GB, free: 74.24 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01572/6.678, allocations: 2.545 MB / 2.048 GB, free: 74.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02372/6.701, allocations: 8.161 MB / 2.056 GB, free: 72.76 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003031/6.704, allocations: 3.209 MB / 2.059 GB, free: 71.98 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01417/6.719, allocations: 3.026 MB / 2.062 GB, free: 71.94 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001983/6.721, allocations: 262.7 kB / 2.062 GB, free: 71.94 MB / 0.5573 GB Notification: Performance of SimCode: time 1.693e-06/6.721, allocations: 0 / 2.062 GB, free: 71.94 MB / 0.5573 GB Notification: Performance of Templates: time 0.2039/6.925, allocations: 125 MB / 2.184 GB, free: 45.9 MB / 0.5573 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Examples.ResistanceVolumeFlowReversal.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Examples.ResistanceVolumeFlowReversal.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Examples.ResistanceVolumeFlowReversal.sim & ./Annex60_1.0.0_Annex60.Fluid.Examples.ResistanceVolumeFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1)