Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.273/1.273, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009513/0.0009515, allocations: 178 kB / 327.5 MB, free: 2.18 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.535/1.535, allocations: 205.4 MB / 0.5785 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008566/0.0008568, allocations: 90.94 kB / 0.6831 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004246/0.0004247, allocations: 16.05 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1867, allocations: 106.3 MB / 0.9012 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7929/0.9796, allocations: 414.2 MB / 1.306 GB, free: 444 kB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/0.9799, allocations: 94.3 kB / 1.306 GB, free: 396 kB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.322/5.302, allocations: 1.443 GB / 2.749 GB, free: 5.941 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.886e-06/5.302, allocations: 0 / 2.749 GB, free: 5.941 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.000795/5.303, allocations: 147.8 kB / 2.749 GB, free: 5.797 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 835 * Number of variables: 835 Notification: Performance of Generate backend data structure: time 0.01531/5.318, allocations: 5.843 MB / 2.755 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/5.318, allocations: 8.031 kB / 2.755 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004337/5.323, allocations: 0.8021 MB / 2.756 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0185/5.341, allocations: 6.638 MB / 2.762 GB, free: 8.316 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003715/5.342, allocations: 270.9 kB / 2.762 GB, free: 8.051 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001292/5.343, allocations: 348.4 kB / 2.763 GB, free: 7.711 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01145/5.355, allocations: 5.413 MB / 2.768 GB, free: 2.043 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001417/5.355, allocations: 15.86 kB / 2.768 GB, free: 2.027 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008983/5.356, allocations: 140 kB / 2.768 GB, free: 1.891 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.587e-05/5.356, allocations: 84 kB / 2.768 GB, free: 1.809 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4406/5.796, allocations: 5.055 MB / 2.773 GB, free: 134.8 MB / 0.9167 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.03156/5.828, allocations: 22.59 MB / 2.795 GB, free: 125.4 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003793/5.832, allocations: 2.62 MB / 2.798 GB, free: 125.4 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0023/5.834, allocations: 1.812 MB / 2.8 GB, free: 125.4 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01075/5.845, allocations: 6.965 MB / 2.806 GB, free: 123.2 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002166/5.847, allocations: 1.841 MB / 2.808 GB, free: 123.1 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005385/5.852, allocations: 2.031 MB / 2.81 GB, free: 123.1 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=156): time 8.005e-06/5.852, allocations: 0 / 2.81 GB, free: 123.1 MB / 0.9167 GB Notification: Performance of matching and sorting (n=156): time 0.0151/5.868, allocations: 6.994 MB / 2.817 GB, free: 122.5 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/5.868, allocations: 147.3 kB / 2.817 GB, free: 122.3 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005616/5.873, allocations: 4.802 MB / 2.822 GB, free: 122 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003109/5.874, allocations: 70.14 kB / 2.822 GB, free: 121.9 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001608/5.875, allocations: 2.435 MB / 2.824 GB, free: 121.4 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004889/5.876, allocations: 0.5571 MB / 2.825 GB, free: 121.1 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/5.876, allocations: 58.31 kB / 2.825 GB, free: 121.1 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001387/5.876, allocations: 418.9 kB / 2.825 GB, free: 120.8 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002041/5.878, allocations: 1.526 MB / 2.827 GB, free: 120.8 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002428/5.88, allocations: 2.839 MB / 2.83 GB, free: 119.2 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005014/5.886, allocations: 4.287 MB / 2.834 GB, free: 118 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.771e-05/5.886, allocations: 12.81 kB / 2.834 GB, free: 118 MB / 0.9167 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008351/5.894, allocations: 5.652 MB / 2.839 GB, free: 117.6 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005071/5.894, allocations: 1.095 MB / 2.84 GB, free: 116.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.961e-05/5.894, allocations: 38.16 kB / 2.84 GB, free: 116.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05813/5.953, allocations: 11.57 MB / 2.852 GB, free: 116.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002581/5.955, allocations: 0.6419 MB / 2.852 GB, free: 116.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006287/5.962, allocations: 4.729 MB / 2.857 GB, free: 114.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004778/5.966, allocations: 356.2 kB / 2.857 GB, free: 114.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000525/5.967, allocations: 158.4 kB / 2.857 GB, free: 114.7 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/5.967, allocations: 6.125 kB / 2.857 GB, free: 114.7 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007243/5.974, allocations: 5.033 MB / 2.862 GB, free: 114.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.109e-05/5.974, allocations: 37.53 kB / 2.862 GB, free: 114.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05778/6.032, allocations: 11.38 MB / 2.874 GB, free: 114.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002596/6.035, allocations: 0.64 MB / 2.874 GB, free: 114.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009358/6.044, allocations: 7.736 MB / 2.882 GB, free: 111 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005203/6.049, allocations: 334.3 kB / 2.882 GB, free: 111 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008097/6.05, allocations: 150.3 kB / 2.882 GB, free: 111 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 147 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (286): * Single equations (assignments): 279 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {11 13,10 11,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.004933/6.055, allocations: 1.551 MB / 2.884 GB, free: 110.8 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002366/6.057, allocations: 464 kB / 2.884 GB, free: 110.6 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008662/6.066, allocations: 4.571 MB / 2.889 GB, free: 110.4 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.152e-05/6.066, allocations: 22.47 kB / 2.889 GB, free: 110.4 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/6.066, allocations: 0 / 2.889 GB, free: 110.4 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01665/6.083, allocations: 7.34 MB / 2.896 GB, free: 108.9 MB / 0.9167 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 postOpt removeSimpleEquations (simulation): time 0.0308/6.114, allocations: 13.22 MB / 2.909 GB, free: 107.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.968e-05/6.114, allocations: 0 / 2.909 GB, free: 107.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002133/6.116, allocations: 374.1 kB / 2.909 GB, free: 107.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05661/6.173, allocations: 11.64 MB / 2.92 GB, free: 106.9 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005208/6.173, allocations: 44.95 kB / 2.92 GB, free: 106.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005459/6.179, allocations: 4.121 MB / 2.924 GB, free: 105.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/6.179, allocations: 0 / 2.924 GB, free: 105.3 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02245/6.201, allocations: 9.676 MB / 2.934 GB, free: 104.7 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003411/6.205, allocations: 1.044 MB / 2.935 GB, free: 104.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001543/6.206, allocations: 36.47 kB / 2.935 GB, free: 104.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004146/6.21, allocations: 292.4 kB / 2.935 GB, free: 104.4 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004417/6.211, allocations: 107.9 kB / 2.935 GB, free: 104.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003462/6.211, allocations: 81.81 kB / 2.935 GB, free: 104.4 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.005653/6.217, allocations: 3.269 MB / 2.939 GB, free: 104.2 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.82e-07/6.217, allocations: 0 / 2.939 GB, free: 104.2 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.009986/6.227, allocations: 2.788 MB / 2.941 GB, free: 104.1 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (pump.vol.dynBal.U,hea.outCon.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {10 3,2 5,10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.002427/6.229, allocations: 1.233 MB / 2.943 GB, free: 103.8 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0151/6.244, allocations: 7.359 MB / 2.95 GB, free: 103.2 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/6.244, allocations: 4.766 kB / 2.95 GB, free: 103.2 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.004738/6.249, allocations: 2.479 MB / 2.952 GB, free: 103.2 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01407/6.263, allocations: 2.701 MB / 2.955 GB, free: 103 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01952/6.283, allocations: 11 MB / 2.966 GB, free: 98.81 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004018/6.287, allocations: 3.219 MB / 2.969 GB, free: 97.98 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.007496/6.294, allocations: 1.674 MB / 2.97 GB, free: 97.78 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001552/6.296, allocations: 353.4 kB / 2.971 GB, free: 97.77 MB / 0.9167 GB Notification: Performance of SimCode: time 5.11e-07/6.296, allocations: 0 / 2.971 GB, free: 97.77 MB / 0.9167 GB Notification: Performance of Templates: time 0.1474/6.443, allocations: 114.1 MB / 3.082 GB, free: 17.07 MB / 0.9167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1)