Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.339/1.339, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001046/0.001046, allocations: 180.6 kB / 326.5 MB, free: 2.672 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 205 MB / 0.5766 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007405/0.0007405, allocations: 89.23 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000339/0.0003391, allocations: 9.062 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2158, allocations: 105.4 MB / 0.8967 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.0412/0.257, allocations: 59.76 MB / 0.9551 GB, free: 8.215 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0176/0.2747, allocations: 13.08 MB / 0.9679 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003281/0.278, allocations: 59.62 kB / 0.9679 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003129/0.2812, allocations: 0.8041 MB / 0.9687 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.006972/0.2882, allocations: 2.133 MB / 0.9708 GB, free: 8.094 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.004224/0.2924, allocations: 1.363 MB / 0.9721 GB, free: 6.742 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.007176/0.2996, allocations: 5.507 MB / 0.9775 GB, free: 1.219 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002244/0.3019, allocations: 1.09 MB / 0.9786 GB, free: 100 kB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003412/0.3053, allocations: 1.345 MB / 0.9799 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002201/0.3075, allocations: 1.159 MB / 0.981 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004118/0.308, allocations: 56 kB / 0.9811 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003507/0.3115, allocations: 1.337 MB / 0.9824 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0005912/0.3121, allocations: 330.4 kB / 0.9827 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001986/0.3141, allocations: 0.7964 MB / 0.9835 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.005237/0.3193, allocations: 2.605 MB / 0.986 GB, free: 8.449 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3193, allocations: 0 / 0.986 GB, free: 8.449 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.704e-06/0.3193, allocations: 0 / 0.986 GB, free: 8.449 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.259e-05/0.3194, allocations: 0 / 0.986 GB, free: 8.449 MB / 0.6355 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.00402/0.3235, allocations: 1.87 MB / 0.9878 GB, free: 6.516 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/0.3235, allocations: 15.97 kB / 0.9879 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0035/0.327, allocations: 0.6387 MB / 0.9885 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002334/0.3294, allocations: 1.364 MB / 0.9898 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001503/0.3295, allocations: 141.4 kB / 0.99 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001552/0.3297, allocations: 104 kB / 0.9901 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00279/0.3325, allocations: 1.338 MB / 0.9914 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/0.3325, allocations: 0 / 0.9914 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.59e-05/0.3326, allocations: 36 kB / 0.9914 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-05/0.3327, allocations: 24 kB / 0.9914 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003447/0.3361, allocations: 1.382 MB / 0.9928 GB, free: 1.371 MB / 0.6355 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.006752/0.3429, allocations: 5.358 MB / 0.998 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005289/0.3482, allocations: 1.488 MB / 0.9994 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001509/0.3497, allocations: 0.6232 MB / 1 GB, free: 9.496 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008879/0.3506, allocations: 1.228 MB / 1.001 GB, free: 7.992 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001712/0.3523, allocations: 0.6823 MB / 1.002 GB, free: 7.301 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=69): time 4.238e-06/0.3524, allocations: 0 / 1.002 GB, free: 7.301 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69): time 0.004872/0.3572, allocations: 1.777 MB / 1.004 GB, free: 5.512 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.3573, allocations: 71.95 kB / 1.004 GB, free: 5.43 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001626/0.3589, allocations: 1.255 MB / 1.005 GB, free: 4.164 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.941e-05/0.359, allocations: 45.7 kB / 1.005 GB, free: 4.113 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005985/0.3596, allocations: 0.6462 MB / 1.006 GB, free: 3.461 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002432/0.3599, allocations: 236.6 kB / 1.006 GB, free: 3.227 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.36, allocations: 69.67 kB / 1.006 GB, free: 3.152 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.3602, allocations: 330 kB / 1.006 GB, free: 2.824 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001472/0.3617, allocations: 0.5602 MB / 1.007 GB, free: 2.266 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001692/0.3634, allocations: 0.784 MB / 1.008 GB, free: 1.398 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002975/0.3663, allocations: 1.194 MB / 1.009 GB, free: 164 kB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.3664, allocations: 0 / 1.009 GB, free: 164 kB / 0.6511 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.003679/0.37, allocations: 1.458 MB / 1.01 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001676/0.3702, allocations: 211.2 kB / 1.01 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.3703, allocations: 11.94 kB / 1.01 GB, free: 14.42 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.3703, allocations: 4 kB / 1.01 GB, free: 14.42 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/0.3715, allocations: 275.7 kB / 1.011 GB, free: 14.15 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.654e-05/0.3715, allocations: 4 kB / 1.011 GB, free: 14.14 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/0.3731, allocations: 239 kB / 1.011 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.3733, allocations: 39.97 kB / 1.011 GB, free: 13.87 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.3733, allocations: 7.938 kB / 1.011 GB, free: 13.86 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00328/0.3766, allocations: 1.305 MB / 1.012 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3766, allocations: 0 / 1.012 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.3766, allocations: 11.98 kB / 1.012 GB, free: 12.54 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/0.3778, allocations: 271.9 kB / 1.012 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.825e-05/0.3778, allocations: 8 kB / 1.012 GB, free: 12.26 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/0.3794, allocations: 235 kB / 1.013 GB, free: 12.03 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-05/0.3795, allocations: 43.91 kB / 1.013 GB, free: 11.99 MB / 0.6667 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 (chi.on,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000787/0.3803, allocations: 412.6 kB / 1.013 GB, free: 11.58 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003095/0.3806, allocations: 146.2 kB / 1.013 GB, free: 11.43 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003821/0.3844, allocations: 1.512 MB / 1.015 GB, free: 9.902 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003119/0.3876, allocations: 1.289 MB / 1.016 GB, free: 8.582 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.3876, allocations: 0 / 1.016 GB, free: 8.582 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006174/0.3882, allocations: 331 kB / 1.016 GB, free: 8.238 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002522/0.3885, allocations: 15.98 kB / 1.016 GB, free: 8.223 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001342/0.3898, allocations: 175.8 kB / 1.016 GB, free: 8.051 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/0.39, allocations: 60.58 kB / 1.017 GB, free: 7.992 MB / 0.6667 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004177/0.3942, allocations: 1.496 MB / 1.018 GB, free: 6.492 MB / 0.6667 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005181/0.3994, allocations: 2.283 MB / 1.02 GB, free: 4.188 MB / 0.6667 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001566/0.4009, allocations: 0.6376 MB / 1.021 GB, free: 3.547 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001333/0.4023, allocations: 0.8683 MB / 1.022 GB, free: 2.68 MB / 0.6667 GB Notification: Performance of Backend: time 2.81e-07/0.4023, allocations: 0 / 1.022 GB, free: 2.68 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00563/0.4079, allocations: 2.081 MB / 1.024 GB, free: 0.582 MB / 0.6667 GB Notification: Performance of SimCode: time 0.006275/0.4142, allocations: 3.699 MB / 1.027 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of Templates: time 0.4433/0.8576, allocations: 34.77 MB / 1.061 GB, free: 151.2 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)