Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01106/0.01106, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.74/1.74, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.614/1.614, allocations: 252 MB / 0.5105 GB, free: 4.652 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005783/0.0005784, allocations: 12.47 kB / 0.6249 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5897/0.5903, allocations: 106.3 MB / 0.7287 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.04608/0.6364, allocations: 43.5 MB / 0.7712 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02064/0.6571, allocations: 12.91 MB / 0.7838 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002855/0.6601, allocations: 31.81 kB / 0.7838 GB, free: 2.727 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002341/0.6624, allocations: 489.2 kB / 0.7843 GB, free: 2.246 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007569/0.67, allocations: 1.805 MB / 0.7861 GB, free: 444 kB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004873/0.6749, allocations: 1.163 MB / 0.7872 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.006848/0.6818, allocations: 4.185 MB / 0.7913 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00205/0.6838, allocations: 0.8422 MB / 0.7921 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003197/0.687, allocations: 1.135 MB / 0.7932 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002111/0.6892, allocations: 0.8787 MB / 0.7941 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001791/0.6894, allocations: 48 kB / 0.7941 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003826/0.6932, allocations: 1.415 MB / 0.7955 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002889/0.6935, allocations: 207 kB / 0.7957 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001003/0.6945, allocations: 0.6041 MB / 0.7963 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004223/0.6988, allocations: 2.325 MB / 0.7986 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.6988, allocations: 3.938 kB / 0.7986 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6988, allocations: 0 / 0.7986 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.893e-05/0.6988, allocations: 0 / 0.7986 GB, free: 3.582 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.003051/0.7019, allocations: 1.425 MB / 0.8 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.7019, allocations: 8.031 kB / 0.8 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003138/0.7022, allocations: 135.4 kB / 0.8001 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002219/0.7045, allocations: 1.193 MB / 0.8013 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.266e-05/0.7045, allocations: 49.31 kB / 0.8013 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/0.7046, allocations: 68 kB / 0.8014 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.7061, allocations: 0.7552 MB / 0.8021 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/0.7062, allocations: 7.844 kB / 0.8021 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.725e-05/0.7063, allocations: 28 kB / 0.8022 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.051e-05/0.7063, allocations: 16 kB / 0.8022 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009299/0.7072, allocations: 0.532 MB / 0.8027 GB, free: 15.24 MB / 0.6231 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.005301/0.7125, allocations: 4.508 MB / 0.8071 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007076/0.7133, allocations: 360.1 kB / 0.8074 GB, free: 9.969 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003215/0.7136, allocations: 220.8 kB / 0.8076 GB, free: 9.75 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001465/0.7151, allocations: 1.519 MB / 0.8091 GB, free: 7.898 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.7151, allocations: 38.56 kB / 0.8092 GB, free: 7.852 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=43): time 2.124e-06/0.7151, allocations: 7.938 kB / 0.8092 GB, free: 7.844 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43): time 0.002339/0.7175, allocations: 0.8861 MB / 0.81 GB, free: 6.93 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.78e-05/0.7175, allocations: 59.41 kB / 0.8101 GB, free: 6.859 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001449/0.719, allocations: 0.8909 MB / 0.811 GB, free: 5.945 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.907e-05/0.7191, allocations: 37.7 kB / 0.811 GB, free: 5.902 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004163/0.7195, allocations: 487.8 kB / 0.8115 GB, free: 5.418 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/0.7197, allocations: 153.8 kB / 0.8116 GB, free: 5.266 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.042e-05/0.7198, allocations: 49.69 kB / 0.8117 GB, free: 5.211 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.7199, allocations: 325.9 kB / 0.812 GB, free: 4.887 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003097/0.7202, allocations: 181 kB / 0.8121 GB, free: 4.711 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004197/0.7206, allocations: 334.9 kB / 0.8125 GB, free: 4.324 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007786/0.7214, allocations: 0.5292 MB / 0.813 GB, free: 3.742 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.7214, allocations: 0 / 0.813 GB, free: 3.742 MB / 0.6231 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001426/0.7229, allocations: 0.7137 MB / 0.8137 GB, free: 3.023 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001644/0.7231, allocations: 217.2 kB / 0.8139 GB, free: 2.746 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/0.7231, allocations: 4 kB / 0.8139 GB, free: 2.742 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005711/0.7237, allocations: 124.8 kB / 0.814 GB, free: 2.617 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003634/0.724, allocations: 111.8 kB / 0.8141 GB, free: 2.508 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005447/0.7246, allocations: 0.6187 MB / 0.8147 GB, free: 1.863 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000771/0.7254, allocations: 95.39 kB / 0.8148 GB, free: 1.77 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.746e-05/0.7255, allocations: 31.98 kB / 0.8148 GB, free: 1.738 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.7255, allocations: 8 kB / 0.8148 GB, free: 1.73 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001251/0.7267, allocations: 0.6049 MB / 0.8154 GB, free: 1.125 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.7268, allocations: 7.984 kB / 0.8154 GB, free: 1.117 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004719/0.7272, allocations: 117.1 kB / 0.8156 GB, free: 1 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003622/0.7276, allocations: 119.8 kB / 0.8157 GB, free: 0.8828 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005108/0.7281, allocations: 0.6149 MB / 0.8163 GB, free: 248 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006778/0.7288, allocations: 95.48 kB / 0.8164 GB, free: 152 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.187e-05/0.7289, allocations: 31.92 kB / 0.8164 GB, free: 120 kB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0005642/0.7295, allocations: 340.9 kB / 0.8167 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/0.7296, allocations: 98.78 kB / 0.8168 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001879/0.7315, allocations: 1.009 MB / 0.8178 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.927e-05/0.7315, allocations: 11.98 kB / 0.8178 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.7315, allocations: 4 kB / 0.8178 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001312/0.7329, allocations: 0.9241 MB / 0.8187 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003068/0.7359, allocations: 1.935 MB / 0.8206 GB, free: 11.67 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-05/0.736, allocations: 11.98 kB / 0.8206 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003514/0.7363, allocations: 95.92 kB / 0.8207 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003409/0.7367, allocations: 84.78 kB / 0.8208 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.112e-05/0.7367, allocations: 23.92 kB / 0.8208 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004875/0.7372, allocations: 0.611 MB / 0.8214 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.7372, allocations: 8 kB / 0.8214 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002001/0.7392, allocations: 1.27 MB / 0.8227 GB, free: 9.508 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004836/0.7397, allocations: 291.5 kB / 0.8229 GB, free: 9.203 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.7399, allocations: 12 kB / 0.8229 GB, free: 9.191 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005551/0.7404, allocations: 71.72 kB / 0.823 GB, free: 9.121 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.7405, allocations: 44.5 kB / 0.8231 GB, free: 9.078 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-05/0.7406, allocations: 23.98 kB / 0.8231 GB, free: 9.055 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001021/0.7416, allocations: 0.6215 MB / 0.8237 GB, free: 8.422 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7416, allocations: 0 / 0.8237 GB, free: 8.422 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001827/0.7435, allocations: 0.6159 MB / 0.8243 GB, free: 7.805 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (pip.cor.del.x,pip.cor.timDel.x,pip.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00108/0.7446, allocations: 0.5308 MB / 0.8248 GB, free: 7.281 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001688/0.7463, allocations: 0.9291 MB / 0.8257 GB, free: 6.332 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.7463, allocations: 4.125 kB / 0.8257 GB, free: 6.328 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006042/0.7469, allocations: 402.5 kB / 0.8261 GB, free: 5.926 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002285/0.7492, allocations: 469.4 kB / 0.8265 GB, free: 5.473 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003398/0.7526, allocations: 2.376 MB / 0.8289 GB, free: 3.055 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006903/0.7533, allocations: 1.05 MB / 0.8299 GB, free: 1.977 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009572/0.7543, allocations: 272.5 kB / 0.8302 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000202/0.7545, allocations: 95.34 kB / 0.8302 GB, free: 1.633 MB / 0.6387 GB Notification: Performance of SimCode: time 4.31e-07/0.7545, allocations: 0 / 0.8302 GB, free: 1.633 MB / 0.6387 GB Notification: Performance of Templates: time 0.03924/0.7937, allocations: 23.56 MB / 0.8533 GB, free: 10.4 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1) Environment - environmentSimulation: