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.001363/0.001363, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.01262/0.01262, allocations: 174 kB / 16.27 MB, free: 6.652 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.532/1.532, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.949/2.949, allocations: 473.4 MB / 0.7469 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003731/0.0003731, allocations: 15.62 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.3874, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01589/0.4034, allocations: 14.83 MB / 1.089 GB, free: 8.641 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.006519/0.4099, allocations: 4.631 MB / 1.093 GB, free: 3.992 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006033/0.4106, allocations: 15.88 kB / 1.093 GB, free: 3.977 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0006238/0.4112, allocations: 147.1 kB / 1.093 GB, free: 3.832 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001633/0.4129, allocations: 0.5287 MB / 1.094 GB, free: 3.301 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.4144, allocations: 0.509 MB / 1.094 GB, free: 2.801 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001555/0.416, allocations: 1.243 MB / 1.096 GB, free: 1.555 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004616/0.4164, allocations: 275.5 kB / 1.096 GB, free: 1.281 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007481/0.4172, allocations: 362.3 kB / 1.096 GB, free: 0.9258 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000463/0.4177, allocations: 306.5 kB / 1.096 GB, free: 0.625 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.149e-05/0.4177, allocations: 12 kB / 1.096 GB, free: 0.6133 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005365/0.4183, allocations: 195.6 kB / 1.097 GB, free: 432 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.903e-05/0.4184, allocations: 71.67 kB / 1.097 GB, free: 360 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000202/0.4186, allocations: 216.5 kB / 1.097 GB, free: 136 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0006139/0.4192, allocations: 494.2 kB / 1.097 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.4192, allocations: 0 / 1.097 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.244e-06/0.4192, allocations: 0 / 1.097 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.4192, allocations: 4 kB / 1.097 GB, free: 15.64 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.001066/0.4203, allocations: 0.6592 MB / 1.098 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.4204, allocations: 8.031 kB / 1.098 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.975e-05/0.4205, allocations: 52.38 kB / 1.098 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000622/0.4211, allocations: 402 kB / 1.098 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.4211, allocations: 24.38 kB / 1.098 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.322e-05/0.4212, allocations: 24 kB / 1.099 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003628/0.4215, allocations: 195.2 kB / 1.099 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.4216, allocations: 0 / 1.099 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/0.4216, allocations: 11.94 kB / 1.099 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.4216, allocations: 4 kB / 1.099 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00024/0.4219, allocations: 141.7 kB / 1.099 GB, free: 14.05 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.001461/0.4233, allocations: 0.8673 MB / 1.1 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004684/0.4238, allocations: 118.6 kB / 1.1 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.093e-05/0.4239, allocations: 48.83 kB / 1.1 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002997/0.4242, allocations: 340.4 kB / 1.1 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.4242, allocations: 38.5 kB / 1.1 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.4243, allocations: 0 / 1.1 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.000368/0.4246, allocations: 177 kB / 1.1 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.4247, allocations: 59.41 kB / 1.1 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000578/0.4253, allocations: 453.9 kB / 1.101 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.4253, allocations: 33.7 kB / 1.101 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.4255, allocations: 212.2 kB / 1.101 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.649e-05/0.4255, allocations: 35.45 kB / 1.101 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.133e-05/0.4256, allocations: 29.7 kB / 1.101 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002059/0.4258, allocations: 350.7 kB / 1.101 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.845e-05/0.4259, allocations: 51.98 kB / 1.102 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.4261, allocations: 107.9 kB / 1.102 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002134/0.4263, allocations: 139.3 kB / 1.102 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.4263, allocations: 0 / 1.102 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003501/0.4267, allocations: 221 kB / 1.102 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.4267, allocations: 9.406 kB / 1.102 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.4267, allocations: 4 kB / 1.102 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.4267, allocations: 0 / 1.102 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002032/0.4269, allocations: 43.92 kB / 1.102 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.427, allocations: 7.984 kB / 1.102 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003325/0.4273, allocations: 39.67 kB / 1.102 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-05/0.4274, allocations: 15.98 kB / 1.102 GB, free: 10.44 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.0001617/0.4275, allocations: 157.7 kB / 1.102 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.308e-05/0.4276, allocations: 35.53 kB / 1.102 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000376/0.428, allocations: 193.8 kB / 1.102 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.428, allocations: 4 kB / 1.102 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.428, allocations: 0 / 1.102 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.428, allocations: 64 / 1.102 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008575/0.4289, allocations: 0.6301 MB / 1.103 GB, free: 9.352 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.4289, allocations: 7.984 kB / 1.103 GB, free: 9.344 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.429, allocations: 24 kB / 1.103 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.429, allocations: 0 / 1.103 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.429, allocations: 4 kB / 1.103 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.4291, allocations: 7.922 kB / 1.103 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.4291, allocations: 4.125 kB / 1.103 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003951/0.4295, allocations: 294.3 kB / 1.103 GB, free: 8.988 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/0.4296, allocations: 140.4 kB / 1.104 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.155e-05/0.4297, allocations: 8 kB / 1.104 GB, free: 8.824 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.4299, allocations: 27.91 kB / 1.104 GB, free: 8.797 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.135e-05/0.43, allocations: 11.98 kB / 1.104 GB, free: 8.785 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.43, allocations: 4 kB / 1.104 GB, free: 8.781 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004236/0.4304, allocations: 331.1 kB / 1.104 GB, free: 8.457 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.61e-07/0.4304, allocations: 0 / 1.104 GB, free: 8.457 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004766/0.4309, allocations: 103.8 kB / 1.104 GB, free: 8.355 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.0005384/0.4315, allocations: 212.5 kB / 1.104 GB, free: 8.148 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003313/0.4318, allocations: 147.8 kB / 1.104 GB, free: 8.004 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.4318, allocations: 0 / 1.104 GB, free: 8.004 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.92e-05/0.4319, allocations: 51.92 kB / 1.104 GB, free: 7.953 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001343/0.4333, allocations: 203.1 kB / 1.105 GB, free: 7.754 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.4346, allocations: 0.7919 MB / 1.105 GB, free: 6.918 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000408/0.4351, allocations: 0.8044 MB / 1.106 GB, free: 6.09 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002478/0.4353, allocations: 70 kB / 1.106 GB, free: 6.027 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.128e-05/0.4354, allocations: 27.44 kB / 1.106 GB, free: 6 MB / 0.8575 GB Notification: Performance of SimCode: time 3.81e-07/0.4354, allocations: 0 / 1.106 GB, free: 6 MB / 0.8575 GB Notification: Performance of Templates: time 0.0155/0.4509, allocations: 6.984 MB / 1.113 GB, free: 15.14 MB / 0.8731 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)