Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") translateModel(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001581/0.00158, allocations: 189.2 kB / 16.25 MB, free: 6.148 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.415/1.415, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.867/2.867, allocations: 472.6 MB / 0.7448 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 67.03 kB / 0.9115 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.4021, allocations: 159.9 MB / 1.068 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01675/0.4189, allocations: 15.33 MB / 1.083 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.006884/0.4258, allocations: 4.639 MB / 1.087 GB, free: 6.711 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007094/0.4265, allocations: 15.88 kB / 1.087 GB, free: 6.695 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0007703/0.4274, allocations: 163 kB / 1.087 GB, free: 6.535 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001613/0.429, allocations: 0.521 MB / 1.088 GB, free: 6.012 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001604/0.4306, allocations: 0.529 MB / 1.088 GB, free: 5.488 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001234/0.4319, allocations: 0.9509 MB / 1.089 GB, free: 4.535 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004634/0.4323, allocations: 323.8 kB / 1.09 GB, free: 4.215 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007457/0.4331, allocations: 406.3 kB / 1.09 GB, free: 3.816 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004047/0.4335, allocations: 314.5 kB / 1.09 GB, free: 3.508 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.064e-05/0.4336, allocations: 24 kB / 1.09 GB, free: 3.484 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005524/0.4341, allocations: 219.6 kB / 1.091 GB, free: 3.27 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.4342, allocations: 83.61 kB / 1.091 GB, free: 3.188 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002161/0.4345, allocations: 206.8 kB / 1.091 GB, free: 2.984 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0006585/0.4351, allocations: 0.4944 MB / 1.091 GB, free: 2.488 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4351, allocations: 0 / 1.091 GB, free: 2.488 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4352, allocations: 4 kB / 1.091 GB, free: 2.484 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.4352, allocations: 0 / 1.091 GB, free: 2.484 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001178/0.4364, allocations: 0.7318 MB / 1.092 GB, free: 1.703 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.4364, allocations: 8.031 kB / 1.092 GB, free: 1.695 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.4365, allocations: 56.36 kB / 1.092 GB, free: 1.641 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005794/0.4371, allocations: 398 kB / 1.092 GB, free: 1.215 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/0.4371, allocations: 20.56 kB / 1.092 GB, free: 1.195 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.206e-05/0.4372, allocations: 28 kB / 1.093 GB, free: 1.168 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003717/0.4376, allocations: 195.2 kB / 1.093 GB, free: 0.9688 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.4376, allocations: 0 / 1.093 GB, free: 0.9688 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.4376, allocations: 8 kB / 1.093 GB, free: 0.9609 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.4376, allocations: 4 kB / 1.093 GB, free: 0.957 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002388/0.4379, allocations: 133.7 kB / 1.093 GB, free: 0.8281 MB / 0.8419 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.001514/0.4394, allocations: 0.879 MB / 1.094 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004702/0.4399, allocations: 118.6 kB / 1.094 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.883e-05/0.44, allocations: 48.84 kB / 1.094 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002878/0.4403, allocations: 336.4 kB / 1.094 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.4403, allocations: 34.56 kB / 1.094 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.4403, allocations: 0 / 1.094 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.0003724/0.4407, allocations: 169.1 kB / 1.094 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/0.4408, allocations: 51.41 kB / 1.094 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005399/0.4413, allocations: 457.8 kB / 1.095 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.4414, allocations: 33.7 kB / 1.095 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/0.4416, allocations: 220.2 kB / 1.095 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.352e-05/0.4416, allocations: 39.44 kB / 1.095 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.096e-05/0.4417, allocations: 57.61 kB / 1.095 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002088/0.4419, allocations: 354.7 kB / 1.096 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.453e-05/0.442, allocations: 47.98 kB / 1.096 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.4422, allocations: 111.8 kB / 1.096 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/0.4424, allocations: 131.3 kB / 1.096 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4424, allocations: 0 / 1.096 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003434/0.4427, allocations: 217 kB / 1.096 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.4428, allocations: 4 kB / 1.096 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.4428, allocations: 192 / 1.096 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.4428, allocations: 4 kB / 1.096 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.443, allocations: 51.86 kB / 1.096 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.443, allocations: 7.984 kB / 1.096 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003372/0.4434, allocations: 35.67 kB / 1.096 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.574e-05/0.4434, allocations: 15.98 kB / 1.096 GB, free: 13.2 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00016/0.4436, allocations: 157.7 kB / 1.096 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.425e-05/0.4437, allocations: 35.53 kB / 1.096 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003469/0.444, allocations: 196.1 kB / 1.096 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.444, allocations: 7.938 kB / 1.097 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.444, allocations: 0 / 1.097 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4441, allocations: 0 / 1.097 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007497/0.4448, allocations: 0.6267 MB / 1.097 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.4448, allocations: 7.984 kB / 1.097 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.4449, allocations: 24.06 kB / 1.097 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.445, allocations: 0 / 1.097 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.445, allocations: 4.094 kB / 1.097 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.445, allocations: 3.984 kB / 1.097 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.445, allocations: 11.88 kB / 1.097 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000308/0.4453, allocations: 294.5 kB / 1.097 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.4454, allocations: 140.4 kB / 1.098 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.652e-05/0.4455, allocations: 8 kB / 1.098 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/0.4458, allocations: 11.98 kB / 1.098 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.301e-05/0.4458, allocations: 19.86 kB / 1.098 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.4458, allocations: 12 kB / 1.098 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003813/0.4462, allocations: 323.1 kB / 1.098 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.11e-07/0.4462, allocations: 0 / 1.098 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004349/0.4467, allocations: 103.8 kB / 1.098 GB, free: 11.11 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004722/0.4471, allocations: 209.8 kB / 1.098 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003108/0.4475, allocations: 147.8 kB / 1.098 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.4475, allocations: 0 / 1.098 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.304e-05/0.4476, allocations: 67.84 kB / 1.098 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.4486, allocations: 167.9 kB / 1.099 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.45, allocations: 0.787 MB / 1.099 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/0.4505, allocations: 0.8035 MB / 1.1 GB, free: 8.879 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002665/0.4507, allocations: 69.8 kB / 1.1 GB, free: 8.816 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.905e-05/0.4508, allocations: 31.44 kB / 1.1 GB, free: 8.785 MB / 0.8575 GB Notification: Performance of SimCode: time 2.8e-07/0.4509, allocations: 0 / 1.1 GB, free: 8.785 MB / 0.8575 GB Notification: Performance of Templates: time 0.01303/0.4639, allocations: 7.035 MB / 1.107 GB, free: 1.879 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.makefile (rm -f Buildings_3.0.0_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_3.0.0_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_3.0.0_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & ./Buildings_3.0.0_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1)