Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.698/1.698, allocations: 288.4 MB / 303.3 MB, free: 8.219 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.0009407/0.0009408, allocations: 172.5 kB / 372 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.728/1.728, allocations: 205.4 MB / 0.6307 GB, free: 9.965 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.0008834/0.0008834, allocations: 92.84 kB / 0.744 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004665/0.0004665, allocations: 19.89 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2599, allocations: 115.3 MB / 0.9797 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.03456/0.2945, allocations: 41.15 MB / 1.02 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01807/0.3126, allocations: 12.15 MB / 1.032 GB, free: 6.141 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002255/0.3149, allocations: 39.75 kB / 1.032 GB, free: 6.102 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001778/0.3167, allocations: 413.3 kB / 1.032 GB, free: 5.695 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.005691/0.3224, allocations: 1.54 MB / 1.034 GB, free: 4.148 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003509/0.3259, allocations: 0.9311 MB / 1.035 GB, free: 3.223 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.006096/0.332, allocations: 3.62 MB / 1.038 GB, free: 15.59 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001727/0.3338, allocations: 0.7461 MB / 1.039 GB, free: 14.83 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002919/0.3367, allocations: 1.058 MB / 1.04 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001673/0.3384, allocations: 0.8245 MB / 1.041 GB, free: 12.94 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001678/0.3386, allocations: 44 kB / 1.041 GB, free: 12.9 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00309/0.3417, allocations: 1.123 MB / 1.042 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0002831/0.342, allocations: 199 kB / 1.042 GB, free: 11.58 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0005152/0.3426, allocations: 273.1 kB / 1.042 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.002674/0.3452, allocations: 1.726 MB / 1.044 GB, free: 9.574 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.3453, allocations: 4 kB / 1.044 GB, free: 9.57 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.967e-06/0.3453, allocations: 3.938 kB / 1.044 GB, free: 9.566 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.592e-05/0.3453, allocations: 0 / 1.044 GB, free: 9.566 MB / 0.6667 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.003156/0.3485, allocations: 1.425 MB / 1.045 GB, free: 8.086 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/0.3485, allocations: 8.031 kB / 1.045 GB, free: 8.078 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001861/0.3487, allocations: 118.4 kB / 1.045 GB, free: 7.953 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003195/0.3491, allocations: 134.5 kB / 1.046 GB, free: 7.82 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002542/0.3516, allocations: 1.159 MB / 1.047 GB, free: 6.617 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.836e-05/0.3517, allocations: 53.31 kB / 1.047 GB, free: 6.566 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.3518, allocations: 64 kB / 1.047 GB, free: 6.504 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/0.3531, allocations: 0.7552 MB / 1.048 GB, free: 5.719 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.92e-05/0.3532, allocations: 4 kB / 1.048 GB, free: 5.715 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.618e-05/0.3533, allocations: 24 kB / 1.048 GB, free: 5.691 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.188e-05/0.3533, allocations: 20 kB / 1.048 GB, free: 5.672 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009831/0.3543, allocations: 0.5282 MB / 1.048 GB, free: 5.141 MB / 0.6667 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.005513/0.3598, allocations: 4.524 MB / 1.053 GB, free: 224 kB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007419/0.3606, allocations: 364.7 kB / 1.053 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003339/0.3609, allocations: 216.7 kB / 1.053 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001434/0.3624, allocations: 1.519 MB / 1.055 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.3624, allocations: 38.56 kB / 1.055 GB, free: 13.74 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=43): time 2.735e-06/0.3624, allocations: 0 / 1.055 GB, free: 13.74 MB / 0.6823 GB Notification: Performance of matching and sorting (n=43): time 0.002368/0.3648, allocations: 0.8891 MB / 1.055 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.3649, allocations: 55.41 kB / 1.056 GB, free: 12.76 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001372/0.3662, allocations: 0.8792 MB / 1.056 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.608e-05/0.3663, allocations: 37.7 kB / 1.056 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004284/0.3668, allocations: 483.8 kB / 1.057 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001664/0.3669, allocations: 157.8 kB / 1.057 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.367, allocations: 15.94 kB / 1.057 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.3671, allocations: 333.9 kB / 1.057 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003168/0.3674, allocations: 173 kB / 1.058 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004338/0.3679, allocations: 327 kB / 1.058 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004024/0.3683, allocations: 224.6 kB / 1.058 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.3683, allocations: 0 / 1.058 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001552/0.3699, allocations: 0.7132 MB / 1.059 GB, free: 9.336 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001731/0.3701, allocations: 217.5 kB / 1.059 GB, free: 9.062 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.514e-05/0.3701, allocations: 8 kB / 1.059 GB, free: 9.055 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006011/0.3707, allocations: 124.7 kB / 1.059 GB, free: 8.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000398/0.3711, allocations: 115.8 kB / 1.059 GB, free: 8.816 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005696/0.3717, allocations: 0.6226 MB / 1.06 GB, free: 8.168 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008566/0.3726, allocations: 95.39 kB / 1.06 GB, free: 8.074 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.711e-05/0.3726, allocations: 32.05 kB / 1.06 GB, free: 8.043 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.3727, allocations: 7.953 kB / 1.06 GB, free: 8.035 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001395/0.3741, allocations: 0.5976 MB / 1.061 GB, free: 7.434 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/0.3741, allocations: 8 kB / 1.061 GB, free: 7.426 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004904/0.3746, allocations: 117.1 kB / 1.061 GB, free: 7.309 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003683/0.375, allocations: 115.8 kB / 1.061 GB, free: 7.195 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004633/0.3755, allocations: 0.6264 MB / 1.061 GB, free: 6.543 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000769/0.3762, allocations: 83.55 kB / 1.061 GB, free: 6.461 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.138e-05/0.3763, allocations: 35.98 kB / 1.061 GB, free: 6.426 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0005817/0.3769, allocations: 342.4 kB / 1.062 GB, free: 6.082 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001611/0.3771, allocations: 90.88 kB / 1.062 GB, free: 5.992 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002005/0.3791, allocations: 1.02 MB / 1.063 GB, free: 4.984 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-05/0.3791, allocations: 11.98 kB / 1.063 GB, free: 4.973 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.3791, allocations: 0 / 1.063 GB, free: 4.973 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001293/0.3804, allocations: 0.9357 MB / 1.064 GB, free: 3.965 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003199/0.3836, allocations: 1.931 MB / 1.066 GB, free: 1.965 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.69e-05/0.3837, allocations: 4 kB / 1.066 GB, free: 1.961 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003848/0.3841, allocations: 91.88 kB / 1.066 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003652/0.3844, allocations: 84.8 kB / 1.066 GB, free: 1.785 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.742e-05/0.3845, allocations: 19.98 kB / 1.066 GB, free: 1.766 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00049/0.385, allocations: 0.6227 MB / 1.067 GB, free: 1.117 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.385, allocations: 0 / 1.067 GB, free: 1.117 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5568/0.9418, allocations: 1.245 MB / 1.068 GB, free: 88.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009763/0.9428, allocations: 298 kB / 1.068 GB, free: 88.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/0.943, allocations: 12.72 kB / 1.068 GB, free: 88.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007958/0.9438, allocations: 63.94 kB / 1.068 GB, free: 88.81 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/0.944, allocations: 49.31 kB / 1.068 GB, free: 88.81 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.064e-05/0.944, allocations: 26 kB / 1.068 GB, free: 88.81 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001366/0.9454, allocations: 0.6126 MB / 1.069 GB, free: 88.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.31e-07/0.9454, allocations: 0 / 1.069 GB, free: 88.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00212/0.9476, allocations: 0.6132 MB / 1.069 GB, free: 88.7 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003478/0.951, allocations: 2.171 MB / 1.071 GB, free: 87.84 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002209/0.9533, allocations: 0.9228 MB / 1.072 GB, free: 87.48 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.9533, allocations: 4.734 kB / 1.072 GB, free: 87.48 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007854/0.9541, allocations: 406.8 kB / 1.073 GB, free: 87.29 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002746/0.9568, allocations: 471.1 kB / 1.073 GB, free: 87.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01338/0.9702, allocations: 5.924 MB / 1.079 GB, free: 84.18 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007197/0.971, allocations: 1.055 MB / 1.08 GB, free: 83.46 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001293/0.9723, allocations: 286.2 kB / 1.08 GB, free: 83.42 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005267/0.9728, allocations: 412.6 kB / 1.081 GB, free: 83.12 MB / 0.6823 GB Notification: Performance of SimCode: time 1.082e-06/0.9728, allocations: 0.75 kB / 1.081 GB, free: 83.12 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07424/1.047, allocations: 33.09 MB / 1.113 GB, free: 70.68 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001817/1.047, allocations: 291.1 kB / 1.113 GB, free: 70.32 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.198/4.245, allocations: 0 / 1.113 GB, free: 70.32 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1)