Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.663/1.663, allocations: 297.8 MB / 313.7 MB, free: 120 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 177.8 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 223.2 MB / 0.6626 GB, free: 4.258 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008551/0.0008551, allocations: 92.62 kB / 0.7808 GB, free: 50.14 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004364/0.0004365, allocations: 12.53 kB / 0.9088 GB, free: 2.863 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7397/0.7402, allocations: 120.3 MB / 1.026 GB, free: 55.91 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9409/1.681, allocations: 410.2 MB / 1.427 GB, free: 248.9 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/1.681, allocations: 84.75 kB / 1.427 GB, free: 248.9 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.327/7.008, allocations: 1.467 GB / 2.894 GB, free: 130 MB / 1.01 GB Notification: Performance of FrontEnd: time 3.206e-06/7.008, allocations: 0 / 2.894 GB, free: 130 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001239/7.009, allocations: 153.5 kB / 2.894 GB, free: 130 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 834 * Number of variables: 834 Notification: Performance of Generate backend data structure: time 0.02362/7.033, allocations: 5.791 MB / 2.9 GB, free: 128.2 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/7.033, allocations: 9.625 kB / 2.9 GB, free: 128.2 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0062/7.039, allocations: 0.8062 MB / 2.901 GB, free: 127.9 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02536/7.065, allocations: 6.595 MB / 2.907 GB, free: 126.9 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00044/7.065, allocations: 264.8 kB / 2.907 GB, free: 126.9 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001992/7.067, allocations: 346.3 kB / 2.908 GB, free: 126.9 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01505/7.082, allocations: 5.377 MB / 2.913 GB, free: 126.2 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000208/7.082, allocations: 13.16 kB / 2.913 GB, free: 126.2 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001441/7.084, allocations: 142 kB / 2.913 GB, free: 126.2 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001592/7.084, allocations: 114.8 kB / 2.913 GB, free: 126.2 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009519/7.094, allocations: 5.071 MB / 2.918 GB, free: 126.2 MB / 1.01 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.03527/7.129, allocations: 22.68 MB / 2.94 GB, free: 116.3 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003608/7.133, allocations: 2.58 MB / 2.943 GB, free: 116.2 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002232/7.135, allocations: 1.819 MB / 2.945 GB, free: 116.2 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0131/7.148, allocations: 7.044 MB / 2.951 GB, free: 113.9 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002567/7.15, allocations: 1.853 MB / 2.953 GB, free: 113.9 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006818/7.157, allocations: 2.025 MB / 2.955 GB, free: 113.8 MB / 1.01 GB Notification: Performance of pre-optimization done (n=158): time 1.365e-05/7.157, allocations: 0 / 2.955 GB, free: 113.8 MB / 1.01 GB Notification: Performance of matching and sorting (n=158): time 0.01852/7.176, allocations: 7.009 MB / 2.962 GB, free: 113.1 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/7.176, allocations: 71.38 kB / 2.962 GB, free: 113.1 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01423/7.19, allocations: 4.787 MB / 2.967 GB, free: 112.7 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001059/7.191, allocations: 69.27 kB / 2.967 GB, free: 112.7 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.003426/7.195, allocations: 2.425 MB / 2.969 GB, free: 111.9 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001238/7.196, allocations: 0.5597 MB / 2.97 GB, free: 111.6 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005561/7.197, allocations: 52.66 kB / 2.97 GB, free: 111.6 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002512/7.197, allocations: 418.7 kB / 2.97 GB, free: 111.3 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003141/7.2, allocations: 1.509 MB / 2.972 GB, free: 111.2 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004163/7.204, allocations: 2.82 MB / 2.974 GB, free: 109.7 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008235/7.213, allocations: 4.269 MB / 2.979 GB, free: 108.5 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-05/7.213, allocations: 9.625 kB / 2.979 GB, free: 108.5 MB / 1.01 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01472/7.227, allocations: 5.633 MB / 2.984 GB, free: 108.1 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009085/7.228, allocations: 1.094 MB / 2.985 GB, free: 106.8 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.282e-05/7.229, allocations: 33.09 kB / 2.985 GB, free: 106.8 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06925/7.298, allocations: 11.57 MB / 2.997 GB, free: 106.8 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003839/7.302, allocations: 0.6511 MB / 2.997 GB, free: 106.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009393/7.311, allocations: 4.724 MB / 3.002 GB, free: 105.2 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006731/7.318, allocations: 354.5 kB / 3.002 GB, free: 105.1 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001042/7.319, allocations: 158.6 kB / 3.002 GB, free: 105.1 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/7.319, allocations: 3.594 kB / 3.002 GB, free: 105.1 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01257/7.332, allocations: 5.007 MB / 3.007 GB, free: 105 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001755/7.332, allocations: 35.19 kB / 3.007 GB, free: 105 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06267/7.395, allocations: 11.38 MB / 3.018 GB, free: 104.5 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003102/7.398, allocations: 0.6437 MB / 3.019 GB, free: 104.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0109/7.409, allocations: 7.719 MB / 3.027 GB, free: 101.2 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006335/7.415, allocations: 340.2 kB / 3.027 GB, free: 101.1 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009002/7.416, allocations: 148.6 kB / 3.027 GB, free: 101.1 MB / 1.01 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 (285): * Single equations (assignments): 280 * 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: 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.004949/7.421, allocations: 1.553 MB / 3.028 GB, free: 100.9 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002247/7.423, allocations: 461.3 kB / 3.029 GB, free: 100.7 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01003/7.433, allocations: 4.586 MB / 3.033 GB, free: 100.5 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.5e-05/7.433, allocations: 23.25 kB / 3.033 GB, free: 100.5 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.587e-06/7.433, allocations: 6.516 kB / 3.033 GB, free: 100.5 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01079/7.444, allocations: 6.22 MB / 3.04 GB, free: 99.07 MB / 1.01 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.03231/7.476, allocations: 12.56 MB / 3.052 GB, free: 97.8 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.658e-05/7.477, allocations: 0 / 3.052 GB, free: 97.8 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002392/7.479, allocations: 375 kB / 3.052 GB, free: 97.8 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06109/7.54, allocations: 11.64 MB / 3.063 GB, free: 97.02 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005825/7.541, allocations: 48.11 kB / 3.064 GB, free: 97.02 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005832/7.547, allocations: 4.123 MB / 3.068 GB, free: 95.43 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/7.547, allocations: 0 / 3.068 GB, free: 95.43 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02178/7.568, allocations: 9.285 MB / 3.077 GB, free: 94.86 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004451/7.573, allocations: 1.053 MB / 3.078 GB, free: 94.52 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002452/7.575, allocations: 30.44 kB / 3.078 GB, free: 94.52 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005609/7.581, allocations: 284.6 kB / 3.078 GB, free: 94.48 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006293/7.582, allocations: 107.4 kB / 3.078 GB, free: 94.48 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005092/7.582, allocations: 81.72 kB / 3.078 GB, free: 94.48 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.008017/7.59, allocations: 3.263 MB / 3.081 GB, free: 94.29 MB / 1.01 GB Notification: Performance of sort global known variables: time 3.91e-07/7.59, allocations: 0 / 3.081 GB, free: 94.29 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.01563/7.606, allocations: 2.742 MB / 3.084 GB, free: 94 MB / 1.01 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.s[1],val.filter.s[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 (130): * Single equations (assignments): 121 * 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.003512/7.609, allocations: 1.183 MB / 3.085 GB, free: 93.62 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01731/7.627, allocations: 7.282 MB / 3.092 GB, free: 93.13 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.227e-05/7.627, allocations: 4.344 kB / 3.092 GB, free: 93.13 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.005666/7.633, allocations: 2.486 MB / 3.095 GB, free: 93.09 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01987/7.652, allocations: 2.675 MB / 3.097 GB, free: 92.96 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.025/7.677, allocations: 10.97 MB / 3.108 GB, free: 88.74 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005175/7.683, allocations: 3.209 MB / 3.111 GB, free: 87.91 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.008774/7.692, allocations: 1.718 MB / 3.113 GB, free: 87.71 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001786/7.693, allocations: 350.5 kB / 3.113 GB, free: 87.7 MB / 1.01 GB Notification: Performance of SimCode: time 1.272e-06/7.693, allocations: 0 / 3.113 GB, free: 87.7 MB / 1.01 GB Notification: Performance of Templates: time 0.172/7.865, allocations: 112.8 MB / 3.223 GB, free: 14.37 MB / 1.01 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.sim & ./Buildings_latest_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1)