Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.686/2.686, allocations: 287.5 MB / 303.2 MB, free: 8.168 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001322/0.001322, allocations: 184.2 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.032/2.032, allocations: 205.4 MB / 0.6305 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008877/0.0008874, allocations: 94.34 kB / 0.7438 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007391/0.0007395, allocations: 12.05 kB / 0.8667 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.224, allocations: 115.3 MB / 0.9793 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.333/1.557, allocations: 420.3 MB / 1.39 GB, free: 9.109 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003249/1.557, allocations: 90.66 kB / 1.39 GB, free: 9.066 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 7.578/9.136, allocations: 1.443 GB / 2.833 GB, free: 28.7 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.647e-06/9.136, allocations: 0 / 2.833 GB, free: 28.7 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.001057/9.137, allocations: 151.8 kB / 2.833 GB, free: 28.55 MB / 0.9636 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.02485/9.162, allocations: 5.848 MB / 2.839 GB, free: 22.61 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/9.162, allocations: 8.031 kB / 2.839 GB, free: 22.6 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006348/9.168, allocations: 0.806 MB / 2.84 GB, free: 21.79 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02363/9.192, allocations: 6.631 MB / 2.846 GB, free: 15.07 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003287/9.192, allocations: 262.9 kB / 2.847 GB, free: 14.81 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001418/9.194, allocations: 356.3 kB / 2.847 GB, free: 14.46 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01495/9.209, allocations: 5.413 MB / 2.852 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001331/9.209, allocations: 11.88 kB / 2.852 GB, free: 8.789 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009315/9.21, allocations: 144 kB / 2.852 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.84e-05/9.21, allocations: 80 kB / 2.852 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01423/9.224, allocations: 5.078 MB / 2.857 GB, free: 3.48 MB / 0.9636 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.8052/10.03, allocations: 22.58 MB / 2.879 GB, free: 137.9 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007946/10.04, allocations: 2.62 MB / 2.882 GB, free: 137.8 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005296/10.04, allocations: 1.814 MB / 2.884 GB, free: 137.8 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0231/10.07, allocations: 6.984 MB / 2.891 GB, free: 135.8 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00602/10.07, allocations: 1.837 MB / 2.892 GB, free: 135.7 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01184/10.08, allocations: 2.038 MB / 2.894 GB, free: 135.7 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=156): time 1.52e-05/10.08, allocations: 0 / 2.894 GB, free: 135.7 MB / 0.9792 GB Notification: Performance of matching and sorting (n=156): time 0.03535/10.12, allocations: 6.992 MB / 2.901 GB, free: 135.3 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.001e-05/10.12, allocations: 144.6 kB / 2.901 GB, free: 135.2 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01231/10.13, allocations: 4.807 MB / 2.906 GB, free: 134.9 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0008621/10.13, allocations: 72.14 kB / 2.906 GB, free: 134.8 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.00377/10.14, allocations: 2.444 MB / 2.908 GB, free: 134.4 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.00121/10.14, allocations: 0.5437 MB / 2.909 GB, free: 134.1 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003548/10.14, allocations: 53.06 kB / 2.909 GB, free: 134.1 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001994/10.14, allocations: 419.2 kB / 2.909 GB, free: 133.8 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004291/10.14, allocations: 1.525 MB / 2.911 GB, free: 133.8 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005499/10.15, allocations: 2.85 MB / 2.914 GB, free: 132.3 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01013/10.16, allocations: 4.281 MB / 2.918 GB, free: 131 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.07e-05/10.16, allocations: 12.09 kB / 2.918 GB, free: 131 MB / 0.9792 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.0202/10.18, allocations: 5.651 MB / 2.923 GB, free: 130.7 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007971/10.18, allocations: 1.094 MB / 2.925 GB, free: 129.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001049/10.18, allocations: 37.44 kB / 2.925 GB, free: 129.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1399/10.32, allocations: 11.58 MB / 2.936 GB, free: 129.3 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005169/10.32, allocations: 0.6489 MB / 2.936 GB, free: 129.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01295/10.34, allocations: 4.724 MB / 2.941 GB, free: 127.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008234/10.35, allocations: 351.7 kB / 2.941 GB, free: 127.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009926/10.35, allocations: 155.5 kB / 2.942 GB, free: 127.7 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/10.35, allocations: 6.469 kB / 2.942 GB, free: 127.7 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01423/10.36, allocations: 5.035 MB / 2.947 GB, free: 127.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001285/10.36, allocations: 36.44 kB / 2.947 GB, free: 127.6 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.133/10.49, allocations: 11.38 MB / 2.958 GB, free: 127.6 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004914/10.5, allocations: 0.6367 MB / 2.958 GB, free: 127.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01769/10.52, allocations: 7.729 MB / 2.966 GB, free: 124.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00751/10.52, allocations: 334.1 kB / 2.966 GB, free: 124.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009537/10.53, allocations: 151.6 kB / 2.966 GB, free: 124.2 MB / 0.9792 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.004935/10.53, allocations: 1.554 MB / 2.968 GB, free: 124.1 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001835/10.53, allocations: 459.6 kB / 2.968 GB, free: 123.8 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01413/10.55, allocations: 4.581 MB / 2.973 GB, free: 123.7 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.949e-05/10.55, allocations: 16.56 kB / 2.973 GB, free: 123.7 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/10.55, allocations: 0 / 2.973 GB, free: 123.7 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03623/10.58, allocations: 7.332 MB / 2.98 GB, free: 122.3 MB / 0.9792 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.05538/10.64, allocations: 13.22 MB / 2.993 GB, free: 121 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.249e-05/10.64, allocations: 3.938 kB / 2.993 GB, free: 121 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004022/10.64, allocations: 373.1 kB / 2.993 GB, free: 121 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1305/10.77, allocations: 11.63 MB / 3.005 GB, free: 120.2 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005848/10.77, allocations: 43.31 kB / 3.005 GB, free: 120.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01065/10.78, allocations: 4.146 MB / 3.009 GB, free: 118.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/10.78, allocations: 0 / 3.009 GB, free: 118.6 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04379/10.83, allocations: 9.665 MB / 3.018 GB, free: 118.1 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004682/10.83, allocations: 1.057 MB / 3.019 GB, free: 117.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002119/10.84, allocations: 36.22 kB / 3.019 GB, free: 117.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007242/10.84, allocations: 291.4 kB / 3.019 GB, free: 117.7 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000723/10.84, allocations: 103.9 kB / 3.019 GB, free: 117.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004915/10.84, allocations: 83.69 kB / 3.02 GB, free: 117.7 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.008779/10.85, allocations: 3.268 MB / 3.023 GB, free: 117.5 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.383e-06/10.85, allocations: 0 / 3.023 GB, free: 117.5 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.01563/10.87, allocations: 2.786 MB / 3.025 GB, free: 117.4 MB / 0.9792 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.003457/10.87, allocations: 1.232 MB / 3.027 GB, free: 117.1 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.02833/10.9, allocations: 7.368 MB / 3.034 GB, free: 116.5 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.666e-05/10.9, allocations: 4.484 kB / 3.034 GB, free: 116.5 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.01059/10.91, allocations: 2.469 MB / 3.036 GB, free: 116.5 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02588/10.94, allocations: 2.709 MB / 3.039 GB, free: 116.4 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02731/10.96, allocations: 11 MB / 3.05 GB, free: 112.1 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005662/10.97, allocations: 3.216 MB / 3.053 GB, free: 111.3 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.01093/10.98, allocations: 1.673 MB / 3.054 GB, free: 111.1 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002443/10.98, allocations: 354.3 kB / 3.055 GB, free: 111.1 MB / 0.9792 GB Notification: Performance of SimCode: time 1.873e-06/10.98, allocations: 0 / 3.055 GB, free: 111.1 MB / 0.9792 GB Notification: Performance of Templates: time 0.2545/11.24, allocations: 112.8 MB / 3.165 GB, free: 53.88 MB / 0.9792 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1)