Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001017/0.001017, allocations: 97.56 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.008/0.008, allocations: 169 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 1.019/1.019, allocations: 143.4 MB / 434.8 MB, free: 13.74 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003157/0.0003157, allocations: 8 kB / 0.5166 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1801, allocations: 83.41 MB / 0.5981 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.3595/0.5396, allocations: 59.23 MB / 0.6559 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02054/0.5602, allocations: 14.59 MB / 0.6702 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003002/0.5633, allocations: 56.41 kB / 0.6702 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001921/0.5652, allocations: 0.5703 MB / 0.6708 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006732/0.572, allocations: 2.085 MB / 0.6728 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004325/0.5763, allocations: 1.508 MB / 0.6743 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007218/0.5835, allocations: 5.28 MB / 0.6795 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001896/0.5854, allocations: 1.027 MB / 0.6805 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003141/0.5886, allocations: 1.322 MB / 0.6818 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00165/0.5903, allocations: 1.051 MB / 0.6828 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001523/0.5904, allocations: 55.56 kB / 0.6828 GB, free: 5.23 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003804/0.5942, allocations: 1.581 MB / 0.6844 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003224/0.5946, allocations: 257.2 kB / 0.6846 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000909/0.5955, allocations: 0.7095 MB / 0.6853 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004892/0.6004, allocations: 2.725 MB / 0.688 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.6004, allocations: 0 / 0.688 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6004, allocations: 1.375 kB / 0.688 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.277e-05/0.6004, allocations: 0 / 0.688 GB, free: 3.32 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.002991/0.6034, allocations: 1.577 MB / 0.6895 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.6035, allocations: 8.219 kB / 0.6895 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003819/0.6039, allocations: 161.6 kB / 0.6897 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002087/0.606, allocations: 1.293 MB / 0.6909 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.187e-05/0.606, allocations: 69.23 kB / 0.691 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.6062, allocations: 89.31 kB / 0.6911 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/0.6078, allocations: 0.961 MB / 0.692 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.833e-05/0.6079, allocations: 2.219 kB / 0.692 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.541e-05/0.608, allocations: 40.33 kB / 0.6921 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.504e-05/0.608, allocations: 27.81 kB / 0.6921 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.6092, allocations: 0.6694 MB / 0.6928 GB, free: 0.5742 MB / 0.5137 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.005543/0.6147, allocations: 5.237 MB / 0.6979 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007153/0.6155, allocations: 405.3 kB / 0.6983 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003719/0.6158, allocations: 244.8 kB / 0.6985 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001296/0.6171, allocations: 1.602 MB / 0.7001 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.6172, allocations: 38.72 kB / 0.7001 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=53): time 2.935e-06/0.6172, allocations: 0 / 0.7001 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of matching and sorting (n=53): time 0.002274/0.6195, allocations: 0.9432 MB / 0.701 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.6195, allocations: 57.64 kB / 0.7011 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/0.621, allocations: 0.9932 MB / 0.702 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.639e-05/0.6211, allocations: 36.39 kB / 0.7021 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004828/0.6216, allocations: 0.5734 MB / 0.7026 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001911/0.6218, allocations: 192.3 kB / 0.7028 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.237e-05/0.6219, allocations: 62.59 kB / 0.7029 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.622, allocations: 332.9 kB / 0.7032 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003695/0.6224, allocations: 196.4 kB / 0.7034 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005297/0.6229, allocations: 408.8 kB / 0.7038 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000912/0.6238, allocations: 0.6274 MB / 0.7044 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.6238, allocations: 1.562 kB / 0.7044 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001725/0.6256, allocations: 0.8385 MB / 0.7052 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001642/0.6257, allocations: 264.2 kB / 0.7055 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.155e-05/0.6258, allocations: 7.375 kB / 0.7055 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005688/0.6264, allocations: 117.5 kB / 0.7056 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004611/0.6268, allocations: 138.7 kB / 0.7057 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004795/0.6273, allocations: 0.6004 MB / 0.7063 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009581/0.6283, allocations: 115.6 kB / 0.7064 GB, free: 6.277 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-05/0.6284, allocations: 35.09 kB / 0.7064 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.963e-06/0.6284, allocations: 3.969 kB / 0.7064 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001458/0.6299, allocations: 0.7082 MB / 0.7071 GB, free: 5.992 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.972e-05/0.6299, allocations: 11.3 kB / 0.7071 GB, free: 5.992 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004734/0.6304, allocations: 114.7 kB / 0.7072 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004432/0.6308, allocations: 142.6 kB / 0.7074 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004498/0.6313, allocations: 0.597 MB / 0.708 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008642/0.6322, allocations: 95.44 kB / 0.7081 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.571e-05/0.6322, allocations: 41.59 kB / 0.7081 GB, free: 5.336 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (79): * Single equations (assignments): 76 * 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.0005451/0.6328, allocations: 371.4 kB / 0.7085 GB, free: 5.039 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001721/0.633, allocations: 113.5 kB / 0.7086 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002116/0.6351, allocations: 1.069 MB / 0.7096 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.739e-05/0.6351, allocations: 21.94 kB / 0.7096 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.6351, allocations: 0 / 0.7096 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001344/0.6365, allocations: 0.8045 MB / 0.7104 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003603/0.6401, allocations: 2.11 MB / 0.7125 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/0.6401, allocations: 3.469 kB / 0.7125 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003797/0.6405, allocations: 98.23 kB / 0.7126 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003279/0.6409, allocations: 76.97 kB / 0.7126 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.932e-05/0.6409, allocations: 15.72 kB / 0.7127 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000361/0.6413, allocations: 0.597 MB / 0.7132 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.6413, allocations: 5.047 kB / 0.7132 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002109/0.6434, allocations: 1.324 MB / 0.7145 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000535/0.644, allocations: 320.4 kB / 0.7148 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001854/0.6442, allocations: 11.59 kB / 0.7149 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007732/0.6449, allocations: 83.3 kB / 0.7149 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.6451, allocations: 61.23 kB / 0.715 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.47e-05/0.6451, allocations: 28.67 kB / 0.715 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001014/0.6461, allocations: 0.6798 MB / 0.7157 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6462, allocations: 0 / 0.7157 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002202/0.6484, allocations: 0.7311 MB / 0.7164 GB, free: 320 kB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.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 (65): * Single equations (assignments): 50 * 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.001491/0.6499, allocations: 0.5774 MB / 0.717 GB, free: 8 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002088/0.652, allocations: 1.064 MB / 0.718 GB, free: 15.45 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.652, allocations: 1.375 kB / 0.718 GB, free: 15.45 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000643/0.6526, allocations: 426.2 kB / 0.7184 GB, free: 15.16 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00324/0.6559, allocations: 0.577 MB / 0.719 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004036/0.6599, allocations: 2.703 MB / 0.7216 GB, free: 11.85 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008345/0.6608, allocations: 1.133 MB / 0.7227 GB, free: 10.69 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001156/0.6619, allocations: 312.6 kB / 0.723 GB, free: 10.41 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002478/0.6622, allocations: 107.4 kB / 0.7231 GB, free: 10.3 MB / 0.545 GB Notification: Performance of SimCode: time 9.72e-07/0.6622, allocations: 0 / 0.7231 GB, free: 10.3 MB / 0.545 GB Notification: Performance of Templates: time 0.04345/0.7057, allocations: 26.87 MB / 0.7494 GB, free: 15.83 MB / 0.5762 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1)