Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.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.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel") translateModel(Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009859/0.0009859, allocations: 90.52 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.00497/0.00497, allocations: 171.1 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.339/1.339, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.959/2.959, allocations: 473.4 MB / 0.7469 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003195/0.0003196, allocations: 8.312 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3159, allocations: 162.2 MB / 1.074 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel): time 0.1095/0.4255, allocations: 113.4 MB / 1.185 GB, free: 5.82 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.03169/0.4572, allocations: 21.69 MB / 1.206 GB, free: 76 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003396/0.4606, allocations: 75.44 kB / 1.206 GB, free: 0 / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.003912/0.4646, allocations: 1.146 MB / 1.207 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.008783/0.4734, allocations: 2.881 MB / 1.21 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.005763/0.4791, allocations: 1.883 MB / 1.212 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0166/0.4958, allocations: 12.34 MB / 1.224 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006043/0.5019, allocations: 3.333 MB / 1.227 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007221/0.5091, allocations: 2.8 MB / 1.23 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005001/0.5141, allocations: 2.73 MB / 1.233 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001013/0.5152, allocations: 156 kB / 1.233 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004765/0.52, allocations: 1.505 MB / 1.234 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001407/0.5214, allocations: 0.8051 MB / 1.235 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.003787/0.5252, allocations: 1.991 MB / 1.237 GB, free: 308 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.009564/0.5348, allocations: 6.62 MB / 1.243 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.5348, allocations: 4 kB / 1.243 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.055e-06/0.5348, allocations: 0 / 1.243 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000205/0.5351, allocations: 4 kB / 1.243 GB, free: 9.652 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 498 * Number of variables: 498 Notification: Performance of Generate backend data structure: time 0.0104/0.5455, allocations: 3.999 MB / 1.247 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.5455, allocations: 12.03 kB / 1.247 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01123/0.5568, allocations: 1.813 MB / 1.249 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5429/1.1, allocations: 4.356 MB / 1.253 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004337/1.1, allocations: 329.8 kB / 1.254 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007776/1.101, allocations: 214.5 kB / 1.254 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01088/1.112, allocations: 4.417 MB / 1.258 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.237e-05/1.112, allocations: 5.031 kB / 1.258 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003608/1.112, allocations: 84.2 kB / 1.258 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.903e-05/1.112, allocations: 54.33 kB / 1.258 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0132/1.126, allocations: 5.628 MB / 1.264 GB, free: 171.2 MB / 0.9981 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.02602/1.152, allocations: 15.75 MB / 1.279 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01034/1.162, allocations: 3.952 MB / 1.283 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004722/1.167, allocations: 2.174 MB / 1.285 GB, free: 160.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006837/1.168, allocations: 1.253 MB / 1.286 GB, free: 159.4 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00479/1.172, allocations: 2.221 MB / 1.289 GB, free: 158.3 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002381/1.175, allocations: 417.1 kB / 1.289 GB, free: 158.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=148): time 6.643e-06/1.175, allocations: 0 / 1.289 GB, free: 158.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=148): time 0.01583/1.191, allocations: 6.506 MB / 1.295 GB, free: 154.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/1.191, allocations: 67.47 kB / 1.295 GB, free: 154.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005947/1.197, allocations: 3.857 MB / 1.299 GB, free: 152.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005244/1.197, allocations: 65.83 kB / 1.299 GB, free: 152.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001254/1.198, allocations: 1.535 MB / 1.301 GB, free: 151.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005953/1.199, allocations: 0.5059 MB / 1.301 GB, free: 151 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002708/1.199, allocations: 157.6 kB / 1.301 GB, free: 150.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.621e-05/1.199, allocations: 306.5 kB / 1.302 GB, free: 150.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004044/1.203, allocations: 2.033 MB / 1.304 GB, free: 149.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004326/1.208, allocations: 2.573 MB / 1.306 GB, free: 147.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007755/1.216, allocations: 4.139 MB / 1.31 GB, free: 145.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.437e-06/1.216, allocations: 2.844 kB / 1.31 GB, free: 145.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=221) (initialization): time 0.01051/1.226, allocations: 5.011 MB / 1.315 GB, free: 141.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002037/1.226, allocations: 407.7 kB / 1.315 GB, free: 140.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.003e-05/1.226, allocations: 8 kB / 1.315 GB, free: 140.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/1.227, allocations: 293.2 kB / 1.316 GB, free: 140.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00314/1.231, allocations: 0.7098 MB / 1.316 GB, free: 139.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/1.232, allocations: 1.388 MB / 1.318 GB, free: 138.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004811/1.237, allocations: 0.5615 MB / 1.318 GB, free: 137.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003589/1.237, allocations: 91.92 kB / 1.318 GB, free: 137.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.936e-06/1.237, allocations: 4 kB / 1.318 GB, free: 137.7 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009241/1.246, allocations: 4.561 MB / 1.323 GB, free: 133.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-05/1.246, allocations: 16.19 kB / 1.323 GB, free: 133.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006087/1.247, allocations: 185.3 kB / 1.323 GB, free: 132.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003261/1.25, allocations: 0.7098 MB / 1.324 GB, free: 132.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00328/1.254, allocations: 3.664 MB / 1.327 GB, free: 128.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004814/1.259, allocations: 0.5537 MB / 1.328 GB, free: 127.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004318/1.259, allocations: 95.94 kB / 1.328 GB, free: 127.7 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 8 (chiPar.chi[2].tru.y,chiPar.chi[1].tru.y,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,chiPar.on[2],$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (206): * Single equations (assignments): 201 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,4), (3,4)} Notification: Performance of prepare postOptimizeDAE: time 0.002528/1.261, allocations: 1.353 MB / 1.329 GB, free: 126.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001146/1.263, allocations: 347.7 kB / 1.33 GB, free: 126 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01032/1.273, allocations: 4.697 MB / 1.334 GB, free: 121.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.25e-05/1.273, allocations: 27.92 kB / 1.334 GB, free: 121.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/1.273, allocations: 3.938 kB / 1.334 GB, free: 121.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007726/1.281, allocations: 4.093 MB / 1.338 GB, free: 117.1 MB / 0.9981 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 postOpt removeSimpleEquations (simulation): time 0.01729/1.298, allocations: 8.545 MB / 1.347 GB, free: 108.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.305e-05/1.298, allocations: 4 kB / 1.347 GB, free: 108.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002656/1.301, allocations: 0.6048 MB / 1.347 GB, free: 107.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003573/1.301, allocations: 156.6 kB / 1.347 GB, free: 107.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001989/1.301, allocations: 51.95 kB / 1.347 GB, free: 107.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007589/1.302, allocations: 1.308 MB / 1.349 GB, free: 106.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.728e-06/1.302, allocations: 11.94 kB / 1.349 GB, free: 106.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01314/1.315, allocations: 7.17 MB / 1.356 GB, free: 99.11 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002948/1.318, allocations: 0.8518 MB / 1.357 GB, free: 98.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001018/1.319, allocations: 40 kB / 1.357 GB, free: 98.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004092/1.323, allocations: 0.494 MB / 1.357 GB, free: 97.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003262/1.324, allocations: 117 kB / 1.357 GB, free: 97.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002458/1.324, allocations: 79.94 kB / 1.357 GB, free: 97.51 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00509/1.329, allocations: 2.718 MB / 1.36 GB, free: 94.81 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.329, allocations: 3.938 kB / 1.36 GB, free: 94.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.006155/1.335, allocations: 1.7 MB / 1.362 GB, free: 93.13 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (chiPar.chi[1].vol1.dynBal.U,chiPar.chi[1].vol2.dynBal.U,chiPar.chi[2].vol1.dynBal.U,chiPar.chi[2].vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,chiPar.on[2],pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,4), (3,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001428/1.337, allocations: 0.5569 MB / 1.362 GB, free: 92.64 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01501/1.352, allocations: 7.189 MB / 1.369 GB, free: 85.41 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/1.352, allocations: 4.625 kB / 1.369 GB, free: 85.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004566/1.356, allocations: 2.164 MB / 1.371 GB, free: 83.24 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01261/1.369, allocations: 2.095 MB / 1.373 GB, free: 81.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01925/1.388, allocations: 10.3 MB / 1.383 GB, free: 70.85 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003183/1.392, allocations: 2.835 MB / 1.386 GB, free: 67.98 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.007338/1.399, allocations: 1.677 MB / 1.388 GB, free: 66.32 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001749/1.401, allocations: 275.3 kB / 1.388 GB, free: 66.05 MB / 0.9981 GB Notification: Performance of SimCode: time 1.874e-06/1.401, allocations: 0 / 1.388 GB, free: 66.05 MB / 0.9981 GB Notification: Performance of Templates: time 0.1129/1.514, allocations: 78.71 MB / 1.465 GB, free: 4.121 MB / 1.014 GB make -j1 -f Buildings_3.0.0_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.makefile (rm -f Buildings_3.0.0_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.pipe ; mkfifo Buildings_3.0.0_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.pipe >> ../files/Buildings_3.0.0_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.sim & ./Buildings_3.0.0_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.pipe 2>&1)