Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.175/2.175, allocations: 251.1 MB / 266.7 MB, free: 11.63 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.001303/0.001303, allocations: 184 kB / 326.3 MB, free: 2.871 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.329/2.329, allocations: 205.4 MB / 0.5772 GB, free: 21.18 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.001371/0.001371, allocations: 98.81 kB / 0.6817 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007412/0.0007415, allocations: 11.66 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2116, allocations: 106.3 MB / 0.8995 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.08675/0.2984, allocations: 74.43 MB / 0.9722 GB, free: 7.438 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.04615/0.3446, allocations: 20.96 MB / 0.9926 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003909/0.3486, allocations: 91.31 kB / 0.9927 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.004204/0.3528, allocations: 0.8152 MB / 0.9935 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.009398/0.3622, allocations: 2.267 MB / 0.9957 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.01221/0.3745, allocations: 2.822 MB / 0.9985 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.02832/0.4028, allocations: 17.55 MB / 1.016 GB, free: 10.86 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01281/0.4157, allocations: 5.571 MB / 1.021 GB, free: 5.23 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01248/0.4282, allocations: 4.626 MB / 1.026 GB, free: 0.5859 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01147/0.4397, allocations: 4.571 MB / 1.03 GB, free: 12 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001862/0.4416, allocations: 264 kB / 1.03 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00691/0.4486, allocations: 1.326 MB / 1.032 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.003162/0.4518, allocations: 1.222 MB / 1.033 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002988/0.4548, allocations: 1.108 MB / 1.034 GB, free: 8.066 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01306/0.4679, allocations: 6.878 MB / 1.041 GB, free: 1.172 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.468, allocations: 0 / 1.041 GB, free: 1.172 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.106e-06/0.468, allocations: 0 / 1.041 GB, free: 1.172 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002701/0.4683, allocations: 4 kB / 1.041 GB, free: 1.168 MB / 0.6823 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.01895/0.4872, allocations: 5.416 MB / 1.046 GB, free: 11.66 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.4873, allocations: 8.031 kB / 1.046 GB, free: 11.66 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006545/0.4938, allocations: 0.8443 MB / 1.047 GB, free: 10.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01675/0.5106, allocations: 5.023 MB / 1.052 GB, free: 5.703 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003682/0.511, allocations: 259.1 kB / 1.052 GB, free: 5.449 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001464/0.5125, allocations: 343.9 kB / 1.052 GB, free: 5.113 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5915/1.104, allocations: 5.73 MB / 1.058 GB, free: 144 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001406/1.104, allocations: 12.62 kB / 1.058 GB, free: 144 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008259/1.105, allocations: 149.2 kB / 1.058 GB, free: 144 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.993e-05/1.105, allocations: 82.59 kB / 1.058 GB, free: 144 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01723/1.122, allocations: 5.554 MB / 1.063 GB, free: 144 MB / 0.698 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.05581/1.178, allocations: 24.01 MB / 1.087 GB, free: 129.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008493/1.187, allocations: 2.797 MB / 1.09 GB, free: 128 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005001/1.192, allocations: 1.923 MB / 1.091 GB, free: 127 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02048/1.212, allocations: 7.142 MB / 1.098 GB, free: 121.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005181/1.218, allocations: 1.946 MB / 1.1 GB, free: 120.5 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007288/1.225, allocations: 1.251 MB / 1.102 GB, free: 120 MB / 0.698 GB Notification: Performance of pre-optimization done (n=155): time 1.507e-05/1.225, allocations: 0 / 1.102 GB, free: 120 MB / 0.698 GB Notification: Performance of matching and sorting (n=155): time 0.03792/1.263, allocations: 7.624 MB / 1.109 GB, free: 114.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.735e-05/1.263, allocations: 149.8 kB / 1.109 GB, free: 114.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009968/1.273, allocations: 4.848 MB / 1.114 GB, free: 109.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007097/1.274, allocations: 66.88 kB / 1.114 GB, free: 109.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002964/1.277, allocations: 2.442 MB / 1.116 GB, free: 107.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001119/1.278, allocations: 0.5515 MB / 1.117 GB, free: 106.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000315/1.278, allocations: 56 kB / 1.117 GB, free: 106.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001673/1.278, allocations: 411.4 kB / 1.117 GB, free: 106.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00462/1.283, allocations: 1.656 MB / 1.119 GB, free: 104.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005566/1.289, allocations: 2.893 MB / 1.122 GB, free: 101.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005484/1.294, allocations: 2.107 MB / 1.124 GB, free: 99.02 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-05/1.294, allocations: 11.94 kB / 1.124 GB, free: 99.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.01841/1.313, allocations: 6.021 MB / 1.13 GB, free: 92.97 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006306/1.313, allocations: 1.101 MB / 1.131 GB, free: 91.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.613e-05/1.313, allocations: 35.98 kB / 1.131 GB, free: 91.37 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1383/1.452, allocations: 11.87 MB / 1.142 GB, free: 79.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005269/1.457, allocations: 0.663 MB / 1.143 GB, free: 78.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01291/1.47, allocations: 5.045 MB / 1.148 GB, free: 73.74 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007601/1.478, allocations: 351.7 kB / 1.148 GB, free: 73.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008648/1.479, allocations: 163.2 kB / 1.149 GB, free: 73.24 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/1.479, allocations: 4 kB / 1.149 GB, free: 73.24 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01411/1.493, allocations: 5.37 MB / 1.154 GB, free: 67.85 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.233e-05/1.493, allocations: 32 kB / 1.154 GB, free: 67.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1363/1.629, allocations: 11.67 MB / 1.165 GB, free: 56.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005041/1.634, allocations: 0.6513 MB / 1.166 GB, free: 55.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01746/1.652, allocations: 8.071 MB / 1.174 GB, free: 47.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007111/1.659, allocations: 327.9 kB / 1.174 GB, free: 46.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008579/1.66, allocations: 155.9 kB / 1.174 GB, free: 46.69 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (287): * Single equations (assignments): 280 * 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.003897/1.664, allocations: 1.546 MB / 1.176 GB, free: 45.13 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001507/1.665, allocations: 464.6 kB / 1.176 GB, free: 44.68 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01335/1.679, allocations: 4.882 MB / 1.181 GB, free: 39.79 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03341/1.712, allocations: 7.004 MB / 1.188 GB, free: 32.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.961e-05/1.712, allocations: 0 / 1.188 GB, free: 32.53 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00425/1.716, allocations: 1.069 MB / 1.189 GB, free: 31.43 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001702/1.718, allocations: 24 kB / 1.189 GB, free: 31.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006829/1.725, allocations: 275.2 kB / 1.189 GB, free: 31.14 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007736/1.726, allocations: 133 kB / 1.189 GB, free: 31.01 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0206/1.746, allocations: 5.394 MB / 1.194 GB, free: 25.61 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01626/1.763, allocations: 6.089 MB / 1.2 GB, free: 19.49 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004913/1.768, allocations: 1.966 MB / 1.202 GB, free: 17.52 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.007197/1.775, allocations: 3.306 MB / 1.206 GB, free: 14.23 MB / 0.698 GB Notification: Performance of Backend: time 7.52e-07/1.775, allocations: 0 / 1.206 GB, free: 14.23 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.02909/1.804, allocations: 6.22 MB / 1.212 GB, free: 8.055 MB / 0.698 GB Notification: Performance of SimCode: time 0.03755/1.842, allocations: 12.93 MB / 1.224 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of Templates: time 0.2863/2.128, allocations: 111 MB / 1.333 GB, free: 12.68 MB / 0.823 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.sim & ./Buildings_7.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1)