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.0009206/0.0009208, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.007987/0.007987, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.537/1.537, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.836/2.836, allocations: 473.4 MB / 0.7469 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003671/0.0003671, allocations: 8.219 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3398, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01769/0.3575, allocations: 14.83 MB / 1.089 GB, free: 8.66 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00711/0.3646, allocations: 4.631 MB / 1.093 GB, free: 4.012 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006765/0.3654, allocations: 11.88 kB / 1.093 GB, free: 4 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0006509/0.366, allocations: 155.1 kB / 1.093 GB, free: 3.848 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001535/0.3676, allocations: 0.517 MB / 1.094 GB, free: 3.328 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001524/0.3691, allocations: 0.5134 MB / 1.094 GB, free: 2.82 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001599/0.3707, allocations: 1.247 MB / 1.096 GB, free: 1.57 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006551/0.3714, allocations: 283.4 kB / 1.096 GB, free: 1.289 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008206/0.3722, allocations: 366.2 kB / 1.096 GB, free: 0.9297 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004104/0.3726, allocations: 294.7 kB / 1.096 GB, free: 0.6406 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.057e-05/0.3727, allocations: 19.94 kB / 1.096 GB, free: 0.6211 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004944/0.3732, allocations: 195.6 kB / 1.097 GB, free: 440 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.3733, allocations: 67.69 kB / 1.097 GB, free: 372 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000207/0.3735, allocations: 220.5 kB / 1.097 GB, free: 144 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0006335/0.3742, allocations: 494.2 kB / 1.097 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.3742, allocations: 0 / 1.097 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.502e-06/0.3742, allocations: 0 / 1.097 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.3742, allocations: 0 / 1.097 GB, free: 15.66 MB / 0.8575 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.001129/0.3753, allocations: 0.6619 MB / 1.098 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.3754, allocations: 8.031 kB / 1.098 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.913e-05/0.3755, allocations: 52.38 kB / 1.098 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005687/0.376, allocations: 394 kB / 1.098 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.3761, allocations: 24.38 kB / 1.098 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.572e-05/0.3761, allocations: 31.94 kB / 1.099 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003481/0.3765, allocations: 191.3 kB / 1.099 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.3765, allocations: 0 / 1.099 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/0.3765, allocations: 11.94 kB / 1.099 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.477e-06/0.3766, allocations: 4 kB / 1.099 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002402/0.3768, allocations: 137.6 kB / 1.099 GB, free: 14.07 MB / 0.8575 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.001478/0.3783, allocations: 0.8829 MB / 1.1 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004888/0.3788, allocations: 110.6 kB / 1.1 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.203e-05/0.3789, allocations: 44.84 kB / 1.1 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002765/0.3792, allocations: 344.4 kB / 1.1 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.3792, allocations: 34.56 kB / 1.1 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 4.359e-06/0.3792, allocations: 4 kB / 1.1 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.0003381/0.3796, allocations: 177.3 kB / 1.1 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.3796, allocations: 51.41 kB / 1.1 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000526/0.3801, allocations: 457.9 kB / 1.101 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.3802, allocations: 33.7 kB / 1.101 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.3803, allocations: 212.2 kB / 1.101 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.052e-05/0.3804, allocations: 39.45 kB / 1.101 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.919e-05/0.3804, allocations: 25.7 kB / 1.101 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.3805, allocations: 354.7 kB / 1.102 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.193e-05/0.3806, allocations: 43.98 kB / 1.102 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.3808, allocations: 115.9 kB / 1.102 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/0.381, allocations: 131.3 kB / 1.102 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.381, allocations: 0 / 1.102 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003324/0.3813, allocations: 224.9 kB / 1.102 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.3814, allocations: 4 kB / 1.102 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.3814, allocations: 0 / 1.102 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.3814, allocations: 4 kB / 1.102 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.3816, allocations: 43.91 kB / 1.102 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.3816, allocations: 4 kB / 1.102 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003106/0.3819, allocations: 43.78 kB / 1.102 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.253e-05/0.382, allocations: 15.98 kB / 1.102 GB, free: 10.46 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.0001664/0.3821, allocations: 157.7 kB / 1.102 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.013e-05/0.3822, allocations: 35.62 kB / 1.102 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003668/0.3826, allocations: 196.5 kB / 1.102 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-06/0.3826, allocations: 4 kB / 1.102 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.3826, allocations: 0 / 1.102 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.3826, allocations: 3.984 kB / 1.102 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007584/0.3834, allocations: 0.634 MB / 1.103 GB, free: 9.355 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.3834, allocations: 0 / 1.103 GB, free: 9.355 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.3835, allocations: 23.94 kB / 1.103 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.3835, allocations: 0 / 1.103 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.3836, allocations: 7.984 kB / 1.103 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.3836, allocations: 4 kB / 1.103 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/0.3836, allocations: 8 kB / 1.103 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002999/0.3839, allocations: 299.9 kB / 1.103 GB, free: 8.996 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.384, allocations: 144.4 kB / 1.104 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.876e-05/0.3841, allocations: 7.984 kB / 1.104 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002493/0.3843, allocations: 23.92 kB / 1.104 GB, free: 8.805 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.735e-05/0.3844, allocations: 11.98 kB / 1.104 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.3844, allocations: 4 kB / 1.104 GB, free: 8.789 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003809/0.3848, allocations: 331.1 kB / 1.104 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3848, allocations: 0 / 1.104 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004139/0.3852, allocations: 99.84 kB / 1.104 GB, free: 8.367 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.0004388/0.3856, allocations: 209 kB / 1.104 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002706/0.3859, allocations: 139.8 kB / 1.104 GB, free: 8.023 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3859, allocations: 0 / 1.104 GB, free: 8.023 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.251e-05/0.386, allocations: 59.91 kB / 1.104 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001342/0.3874, allocations: 203.1 kB / 1.105 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.3888, allocations: 0.7901 MB / 1.105 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.3891, allocations: 0.8116 MB / 1.106 GB, free: 6.098 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000237/0.3894, allocations: 62.17 kB / 1.106 GB, free: 6.043 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.348e-05/0.3895, allocations: 39.42 kB / 1.106 GB, free: 6.004 MB / 0.8575 GB Notification: Performance of SimCode: time 3.4e-07/0.3895, allocations: 0 / 1.106 GB, free: 6.004 MB / 0.8575 GB Notification: Performance of Templates: time 0.01332/0.4028, allocations: 6.965 MB / 1.113 GB, free: 15.16 MB / 0.8731 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)