Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001513/0.001513, 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.001946/0.001946, allocations: 196.5 kB / 16.14 MB, free: 6.695 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.515/1.515, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.911/2.911, allocations: 472.6 MB / 0.7447 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 60.31 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3234, allocations: 159.9 MB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.0184/0.3418, allocations: 15.34 MB / 1.082 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.006517/0.3484, allocations: 4.697 MB / 1.087 GB, free: 6.75 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005676/0.349, allocations: 15.88 kB / 1.087 GB, free: 6.734 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0006688/0.3496, allocations: 151.1 kB / 1.087 GB, free: 6.586 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001502/0.3512, allocations: 0.5092 MB / 1.088 GB, free: 6.074 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001457/0.3527, allocations: 0.5132 MB / 1.088 GB, free: 5.57 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001474/0.3541, allocations: 1.251 MB / 1.089 GB, free: 4.316 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004745/0.3546, allocations: 291.2 kB / 1.09 GB, free: 4.027 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007676/0.3554, allocations: 370.3 kB / 1.09 GB, free: 3.664 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004785/0.3559, allocations: 310.6 kB / 1.09 GB, free: 3.359 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.483e-05/0.356, allocations: 20 kB / 1.09 GB, free: 3.34 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004885/0.3565, allocations: 191.6 kB / 1.091 GB, free: 3.152 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.3566, allocations: 83.53 kB / 1.091 GB, free: 3.07 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002153/0.3568, allocations: 194.8 kB / 1.091 GB, free: 2.879 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0006577/0.3575, allocations: 490.4 kB / 1.091 GB, free: 2.398 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.3575, allocations: 4 kB / 1.091 GB, free: 2.395 MB / 0.8419 GB Notification: Performance of FrontEnd: time 8.22e-07/0.3575, allocations: 0 / 1.091 GB, free: 2.395 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.3575, allocations: 0 / 1.091 GB, free: 2.395 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.001171/0.3587, allocations: 0.7357 MB / 1.092 GB, free: 1.609 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.3588, allocations: 12.03 kB / 1.092 GB, free: 1.598 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.3589, allocations: 48.38 kB / 1.092 GB, free: 1.551 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005553/0.3594, allocations: 394 kB / 1.092 GB, free: 1.129 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.3595, allocations: 24.56 kB / 1.093 GB, free: 1.105 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.939e-05/0.3595, allocations: 24 kB / 1.093 GB, free: 1.082 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003376/0.3599, allocations: 199.2 kB / 1.093 GB, free: 0.8789 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.3599, allocations: 0 / 1.093 GB, free: 0.8789 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.3599, allocations: 4 kB / 1.093 GB, free: 0.875 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.3599, allocations: 8 kB / 1.093 GB, free: 0.8672 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002311/0.3601, allocations: 129.7 kB / 1.093 GB, free: 0.7422 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.001443/0.3616, allocations: 0.8751 MB / 1.094 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004505/0.3621, allocations: 118.6 kB / 1.094 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.184e-05/0.3622, allocations: 52.77 kB / 1.094 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002573/0.3624, allocations: 332.4 kB / 1.094 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.3625, allocations: 34.56 kB / 1.094 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.3625, allocations: 4 kB / 1.094 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.000352/0.3628, allocations: 177.1 kB / 1.094 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.3629, allocations: 55.41 kB / 1.094 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005329/0.3634, allocations: 453.8 kB / 1.095 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.3635, allocations: 37.64 kB / 1.095 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.3636, allocations: 216.2 kB / 1.095 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.3637, allocations: 31.47 kB / 1.095 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.509e-05/0.3638, allocations: 61.59 kB / 1.095 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3639, allocations: 350.8 kB / 1.096 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.364, allocations: 55.91 kB / 1.096 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.3642, allocations: 101.1 kB / 1.096 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001993/0.3644, allocations: 131.3 kB / 1.096 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3644, allocations: 4 kB / 1.096 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003563/0.3648, allocations: 221.1 kB / 1.096 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.3648, allocations: 5.906 kB / 1.096 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3648, allocations: 4 kB / 1.096 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.3648, allocations: 7.922 kB / 1.096 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.365, allocations: 43.92 kB / 1.096 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.3651, allocations: 0 / 1.096 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003629/0.3654, allocations: 51.59 kB / 1.096 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.054e-05/0.3655, allocations: 12 kB / 1.096 GB, free: 13.1 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.0001526/0.3656, allocations: 153.7 kB / 1.096 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.615e-05/0.3657, allocations: 39.53 kB / 1.096 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003363/0.366, allocations: 194.5 kB / 1.097 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.403e-06/0.3661, allocations: 4 kB / 1.097 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3661, allocations: 4 kB / 1.097 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.3661, allocations: 0 / 1.097 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007591/0.3668, allocations: 0.6224 MB / 1.097 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3669, allocations: 0 / 1.097 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.367, allocations: 27.98 kB / 1.097 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.367, allocations: 0 / 1.097 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.367, allocations: 4.125 kB / 1.097 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.367, allocations: 4 kB / 1.097 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.367, allocations: 7.938 kB / 1.097 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003071/0.3673, allocations: 292.2 kB / 1.097 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.3675, allocations: 140.5 kB / 1.098 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.395e-05/0.3675, allocations: 4 kB / 1.098 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002623/0.3678, allocations: 19.97 kB / 1.098 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.141e-05/0.3678, allocations: 19.86 kB / 1.098 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.3679, allocations: 12 kB / 1.098 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003782/0.3682, allocations: 327.1 kB / 1.098 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3682, allocations: 0 / 1.098 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004216/0.3687, allocations: 107.8 kB / 1.098 GB, free: 11.02 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.0003979/0.3691, allocations: 203.6 kB / 1.098 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003108/0.3694, allocations: 143.8 kB / 1.098 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3694, allocations: 4 kB / 1.098 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.137e-05/0.3695, allocations: 51.92 kB / 1.098 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.3707, allocations: 204.2 kB / 1.099 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.372, allocations: 0.777 MB / 1.099 GB, free: 9.609 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.3724, allocations: 0.8038 MB / 1.1 GB, free: 8.781 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002583/0.3726, allocations: 66.67 kB / 1.1 GB, free: 8.723 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.495e-05/0.3727, allocations: 39.36 kB / 1.1 GB, free: 8.684 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.3727, allocations: 0.5625 kB / 1.1 GB, free: 8.684 MB / 0.8575 GB Notification: Performance of Templates: time 0.01303/0.3858, allocations: 6.996 MB / 1.107 GB, free: 1.809 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.makefile (rm -f Buildings_1.6_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_1.6_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_1.6_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_1.6_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & ./Buildings_1.6_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1)