Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.754/2.754, allocations: 287.5 MB / 302.4 MB, free: 8.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001376/0.001376, allocations: 186.4 kB / 371 MB, free: 10.89 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.179/2.179, allocations: 205.4 MB / 0.6297 GB, free: 10.66 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009728/0.0009725, allocations: 92.84 kB / 0.743 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006883/0.0006887, allocations: 16.48 kB / 0.8658 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.226, allocations: 115.3 MB / 0.9783 GB, free: 28.43 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.0899/0.3159, allocations: 55.76 MB / 1.033 GB, free: 4.512 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02775/0.3438, allocations: 12.23 MB / 1.045 GB, free: 8.258 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003036/0.3469, allocations: 63.56 kB / 1.045 GB, free: 8.195 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003881/0.3508, allocations: 0.7026 MB / 1.045 GB, free: 7.488 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.008508/0.3593, allocations: 1.825 MB / 1.047 GB, free: 5.656 MB / 0.6667 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/Chillers/BaseClasses/warnIfPerformanceOutOfBounds.mo:2:1-41:33:writable] Warning: Pure function ‘Buildings.Fluid.Chillers.BaseClasses.warnIfPerformanceOutOfBounds‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.005987/0.3654, allocations: 1.164 MB / 1.048 GB, free: 4.504 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.009555/0.3749, allocations: 4.74 MB / 1.053 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002869/0.3779, allocations: 0.9738 MB / 1.054 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004757/0.3827, allocations: 1.303 MB / 1.055 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003237/0.386, allocations: 1.085 MB / 1.056 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0006283/0.3867, allocations: 60 kB / 1.056 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004836/0.3915, allocations: 0.9901 MB / 1.057 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001009/0.3926, allocations: 314.6 kB / 1.058 GB, free: 11 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0009905/0.3936, allocations: 356.8 kB / 1.058 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004924/0.3986, allocations: 1.936 MB / 1.06 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.3986, allocations: 4 kB / 1.06 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.206e-06/0.3986, allocations: 0 / 1.06 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.211e-05/0.3987, allocations: 0 / 1.06 GB, free: 8.699 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.006047/0.4048, allocations: 1.886 MB / 1.062 GB, free: 6.746 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.4049, allocations: 8.031 kB / 1.062 GB, free: 6.738 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006407/0.4113, allocations: 0.6379 MB / 1.062 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004338/0.4157, allocations: 1.315 MB / 1.064 GB, free: 4.73 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002609/0.416, allocations: 145.4 kB / 1.064 GB, free: 4.578 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003492/0.4164, allocations: 100 kB / 1.064 GB, free: 4.48 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005543/0.4219, allocations: 1.33 MB / 1.065 GB, free: 3.113 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.895e-05/0.422, allocations: 3.938 kB / 1.065 GB, free: 3.109 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001842/0.4222, allocations: 44 kB / 1.065 GB, free: 3.066 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.609e-05/0.4223, allocations: 24 kB / 1.065 GB, free: 3.043 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007256/0.4296, allocations: 1.37 MB / 1.067 GB, free: 1.676 MB / 0.6823 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.666/1.096, allocations: 5.359 MB / 1.072 GB, free: 87.66 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01042/1.106, allocations: 1.478 MB / 1.073 GB, free: 87.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003462/1.11, allocations: 0.6208 MB / 1.074 GB, free: 87.04 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001059/1.111, allocations: 1.235 MB / 1.075 GB, free: 85.62 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003628/1.114, allocations: 0.6943 MB / 1.076 GB, free: 85.43 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=69): time 6.793e-06/1.114, allocations: 4.719 kB / 1.076 GB, free: 85.43 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69): time 0.01365/1.128, allocations: 1.768 MB / 1.077 GB, free: 85 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.332e-05/1.128, allocations: 63.39 kB / 1.078 GB, free: 84.93 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004768/1.133, allocations: 1.25 MB / 1.079 GB, free: 84.45 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000368/1.133, allocations: 40.58 kB / 1.079 GB, free: 84.41 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001193/1.135, allocations: 0.6495 MB / 1.079 GB, free: 83.94 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005964/1.135, allocations: 237.2 kB / 1.08 GB, free: 83.77 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/1.135, allocations: 15.44 kB / 1.08 GB, free: 83.75 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001538/1.136, allocations: 334.9 kB / 1.08 GB, free: 83.44 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004045/1.14, allocations: 0.5458 MB / 1.081 GB, free: 83.31 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004504/1.144, allocations: 0.7743 MB / 1.081 GB, free: 82.93 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004401/1.149, allocations: 0.5916 MB / 1.082 GB, free: 82.72 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.134e-05/1.149, allocations: 1.531 kB / 1.082 GB, free: 82.72 MB / 0.6823 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.01534/1.164, allocations: 1.446 MB / 1.083 GB, free: 82.24 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002049/1.165, allocations: 212 kB / 1.083 GB, free: 82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/1.165, allocations: 3.281 kB / 1.083 GB, free: 82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.718e-05/1.165, allocations: 7.453 kB / 1.083 GB, free: 82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004064/1.169, allocations: 271.1 kB / 1.084 GB, free: 81.98 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.985e-05/1.169, allocations: 6.75 kB / 1.084 GB, free: 81.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005107/1.174, allocations: 249.6 kB / 1.084 GB, free: 81.91 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004266/1.175, allocations: 40.47 kB / 1.084 GB, free: 81.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/1.175, allocations: 3.281 kB / 1.084 GB, free: 81.9 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009278/1.184, allocations: 1.295 MB / 1.085 GB, free: 81.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/1.184, allocations: 3.547 kB / 1.085 GB, free: 81.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/1.184, allocations: 7.188 kB / 1.085 GB, free: 81.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002523/1.186, allocations: 277.4 kB / 1.086 GB, free: 81.47 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.968e-05/1.187, allocations: 7.656 kB / 1.086 GB, free: 81.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00321/1.19, allocations: 236.5 kB / 1.086 GB, free: 81.41 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003204/1.19, allocations: 38.53 kB / 1.086 GB, free: 81.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,chi.on) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001289/1.191, allocations: 406.2 kB / 1.086 GB, free: 81.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000563/1.192, allocations: 147.8 kB / 1.086 GB, free: 81.02 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007727/1.2, allocations: 1.505 MB / 1.088 GB, free: 80.54 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-05/1.2, allocations: 15.34 kB / 1.088 GB, free: 80.53 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.198e-06/1.2, allocations: 1.125 kB / 1.088 GB, free: 80.53 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006604/1.207, allocations: 1.286 MB / 1.089 GB, free: 80.07 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0135/1.22, allocations: 3.236 MB / 1.092 GB, free: 78.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.927e-05/1.22, allocations: 4.875 kB / 1.092 GB, free: 78.54 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002383/1.223, allocations: 235.8 kB / 1.092 GB, free: 78.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.812e-05/1.223, allocations: 11.33 kB / 1.093 GB, free: 78.52 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002166/1.223, allocations: 26.14 kB / 1.093 GB, free: 78.51 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.888e-05/1.223, allocations: 12.42 kB / 1.093 GB, free: 78.51 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.378e-06/1.223, allocations: 5.219 kB / 1.093 GB, free: 78.51 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01063/1.234, allocations: 2.307 MB / 1.095 GB, free: 77.55 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00216/1.236, allocations: 363.3 kB / 1.095 GB, free: 77.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00132/1.237, allocations: 21.83 kB / 1.095 GB, free: 77.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003234/1.24, allocations: 187 kB / 1.095 GB, free: 77.26 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003964/1.241, allocations: 76.08 kB / 1.095 GB, free: 77.24 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002305/1.241, allocations: 42.59 kB / 1.095 GB, free: 77.23 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002565/1.244, allocations: 0.8863 MB / 1.096 GB, free: 76.88 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.353e-06/1.244, allocations: 3.969 kB / 1.096 GB, free: 76.88 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004395/1.248, allocations: 0.7742 MB / 1.097 GB, free: 76.75 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (chi.vol1.dynBal.U,chi.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,pulse.T_start,pulse.count,chi.on) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001778/1.25, allocations: 493.8 kB / 1.098 GB, free: 76.59 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01088/1.261, allocations: 2.071 MB / 1.1 GB, free: 75.95 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.275e-05/1.261, allocations: 1.25 kB / 1.1 GB, free: 75.95 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003781/1.265, allocations: 0.7117 MB / 1.1 GB, free: 75.75 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007504/1.272, allocations: 0.7525 MB / 1.101 GB, free: 75.57 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009046/1.282, allocations: 3.173 MB / 1.104 GB, free: 73.73 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001074/1.283, allocations: 1.223 MB / 1.105 GB, free: 72.97 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003358/1.286, allocations: 361.3 kB / 1.106 GB, free: 72.86 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008298/1.287, allocations: 133.1 kB / 1.106 GB, free: 72.84 MB / 0.6823 GB Notification: Performance of SimCode: time 1.112e-06/1.287, allocations: 0 / 1.106 GB, free: 72.84 MB / 0.6823 GB Notification: Performance of Templates: time 0.07846/1.365, allocations: 29 MB / 1.134 GB, free: 51.12 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)