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.001647/0.001647, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002646/0.002646, allocations: 197.9 kB / 16.14 MB, free: 6.688 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.51/1.51, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.016/3.016, allocations: 472.6 MB / 0.7447 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 65.22 kB / 0.9114 GB, free: 33.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.3912, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.017/0.4082, allocations: 15.35 MB / 1.083 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.006777/0.4151, allocations: 4.682 MB / 1.087 GB, free: 6.785 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006173/0.4157, allocations: 15.88 kB / 1.087 GB, free: 6.77 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0006583/0.4164, allocations: 155.1 kB / 1.087 GB, free: 6.617 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001491/0.4179, allocations: 0.5203 MB / 1.088 GB, free: 6.098 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001535/0.4195, allocations: 0.5007 MB / 1.088 GB, free: 5.602 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001437/0.4209, allocations: 1.251 MB / 1.089 GB, free: 4.348 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004415/0.4214, allocations: 291.2 kB / 1.09 GB, free: 4.059 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007353/0.4221, allocations: 374.3 kB / 1.09 GB, free: 3.691 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003954/0.4225, allocations: 302.6 kB / 1.09 GB, free: 3.395 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.634e-05/0.4226, allocations: 20 kB / 1.09 GB, free: 3.375 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005226/0.4231, allocations: 195.6 kB / 1.091 GB, free: 3.184 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.4232, allocations: 79.56 kB / 1.091 GB, free: 3.105 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002127/0.4234, allocations: 198.8 kB / 1.091 GB, free: 2.91 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0006136/0.4241, allocations: 490.4 kB / 1.091 GB, free: 2.43 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4241, allocations: 0 / 1.091 GB, free: 2.43 MB / 0.8419 GB Notification: Performance of FrontEnd: time 8.51e-07/0.4241, allocations: 0 / 1.091 GB, free: 2.43 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.4241, allocations: 0 / 1.091 GB, free: 2.43 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.001216/0.4253, allocations: 0.7396 MB / 1.092 GB, free: 1.641 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.4254, allocations: 8.031 kB / 1.092 GB, free: 1.633 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.4255, allocations: 52.31 kB / 1.092 GB, free: 1.582 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000572/0.4261, allocations: 390 kB / 1.092 GB, free: 1.164 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.4261, allocations: 20.56 kB / 1.092 GB, free: 1.145 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.925e-05/0.4261, allocations: 28 kB / 1.093 GB, free: 1.117 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000352/0.4265, allocations: 203.2 kB / 1.093 GB, free: 0.9102 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.609e-06/0.4265, allocations: 0 / 1.093 GB, free: 0.9102 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/0.4265, allocations: 8 kB / 1.093 GB, free: 0.9023 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.4266, allocations: 11.92 kB / 1.093 GB, free: 0.8906 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002383/0.4268, allocations: 133.7 kB / 1.093 GB, free: 0.7617 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.001451/0.4283, allocations: 0.8751 MB / 1.094 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000458/0.4287, allocations: 118.6 kB / 1.094 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.342e-05/0.4288, allocations: 48.84 kB / 1.094 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003214/0.4292, allocations: 332.4 kB / 1.094 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.4292, allocations: 34.56 kB / 1.094 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 1.382e-06/0.4292, allocations: 4 kB / 1.094 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.0003817/0.4296, allocations: 173.1 kB / 1.094 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.4296, allocations: 51.41 kB / 1.094 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005556/0.4302, allocations: 457.8 kB / 1.095 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.4302, allocations: 29.7 kB / 1.095 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.4304, allocations: 216.2 kB / 1.095 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.889e-05/0.4305, allocations: 35.45 kB / 1.095 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.403e-05/0.4306, allocations: 57.59 kB / 1.095 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.4307, allocations: 358.7 kB / 1.096 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.4308, allocations: 47.97 kB / 1.096 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.431, allocations: 101.1 kB / 1.096 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/0.4312, allocations: 135.3 kB / 1.096 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4312, allocations: 4 kB / 1.096 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003653/0.4316, allocations: 225 kB / 1.096 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.4316, allocations: 4 kB / 1.096 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.4316, allocations: 0 / 1.096 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.4316, allocations: 4 kB / 1.096 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.4319, allocations: 43.91 kB / 1.096 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.4319, allocations: 4 kB / 1.096 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003451/0.4322, allocations: 43.67 kB / 1.096 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.68e-05/0.4323, allocations: 15.98 kB / 1.096 GB, free: 13.13 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.0001674/0.4324, allocations: 157.6 kB / 1.096 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.642e-05/0.4325, allocations: 39.53 kB / 1.096 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003664/0.4329, allocations: 196.8 kB / 1.097 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.4329, allocations: 0 / 1.097 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.4329, allocations: 8 kB / 1.097 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.4329, allocations: 3.984 kB / 1.097 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008152/0.4338, allocations: 0.6224 MB / 1.097 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.4338, allocations: 4 kB / 1.097 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.4339, allocations: 16 kB / 1.097 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.4339, allocations: 4 kB / 1.097 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.4339, allocations: 8.109 kB / 1.097 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.4339, allocations: 4.062 kB / 1.097 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.4339, allocations: 11.88 kB / 1.097 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003006/0.4342, allocations: 286.5 kB / 1.097 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.4344, allocations: 144.4 kB / 1.098 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.359e-05/0.4344, allocations: 4 kB / 1.098 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/0.4347, allocations: 15.98 kB / 1.098 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.4347, allocations: 15.86 kB / 1.098 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.4348, allocations: 8 kB / 1.098 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004196/0.4352, allocations: 331.1 kB / 1.098 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4352, allocations: 3.938 kB / 1.098 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004285/0.4356, allocations: 103.8 kB / 1.098 GB, free: 11.05 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.0004785/0.4361, allocations: 211 kB / 1.098 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002882/0.4364, allocations: 139.8 kB / 1.098 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4364, allocations: 0 / 1.098 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.614e-05/0.4365, allocations: 59.91 kB / 1.098 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/0.4378, allocations: 207.8 kB / 1.099 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.4391, allocations: 0.7769 MB / 1.099 GB, free: 9.637 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.4395, allocations: 0.8116 MB / 1.1 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002455/0.4398, allocations: 66.17 kB / 1.1 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.206e-05/0.4398, allocations: 31.44 kB / 1.1 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of SimCode: time 3.91e-07/0.4398, allocations: 0 / 1.1 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of Templates: time 0.01482/0.4547, allocations: 6.99 MB / 1.107 GB, free: 1.844 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)