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.636/1.636, allocations: 252 MB / 267.6 MB, free: 10.97 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.001181/0.001181, allocations: 172.3 kB / 327.3 MB, free: 2.219 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.897/1.897, allocations: 205.4 MB / 0.5783 GB, free: 20.23 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.0008375/0.0008376, allocations: 87.84 kB / 0.6829 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003623/0.0003623, allocations: 12.89 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2457, allocations: 106.3 MB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.04043/0.2862, allocations: 55.78 MB / 0.9553 GB, free: 7.973 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01666/0.3029, allocations: 12.19 MB / 0.9672 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002818/0.3058, allocations: 63.56 kB / 0.9673 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002324/0.3081, allocations: 0.6948 MB / 0.9679 GB, free: 11 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.006246/0.3144, allocations: 1.825 MB / 0.9697 GB, free: 9.172 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.00396/0.3184, allocations: 1.132 MB / 0.9708 GB, free: 8.051 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.006943/0.3253, allocations: 4.727 MB / 0.9754 GB, free: 3.305 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00236/0.3277, allocations: 0.9733 MB / 0.9764 GB, free: 2.312 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003514/0.3312, allocations: 1.295 MB / 0.9777 GB, free: 1.012 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002534/0.3338, allocations: 1.089 MB / 0.9787 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0005093/0.3343, allocations: 56 kB / 0.9788 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00368/0.338, allocations: 0.9978 MB / 0.9797 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0007647/0.3388, allocations: 310.6 kB / 0.98 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001138/0.3399, allocations: 352.8 kB / 0.9804 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0041/0.344, allocations: 1.917 MB / 0.9822 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.277e-05/0.3441, allocations: 3.984 kB / 0.9823 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3441, allocations: 3.938 kB / 0.9823 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001074/0.3442, allocations: 4 kB / 0.9823 GB, free: 12.27 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.005521/0.3497, allocations: 1.89 MB / 0.9841 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.3498, allocations: 8.031 kB / 0.9841 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004038/0.3538, allocations: 0.6302 MB / 0.9847 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003237/0.3571, allocations: 1.315 MB / 0.986 GB, free: 8.309 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002047/0.3573, allocations: 137.4 kB / 0.9861 GB, free: 8.164 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002832/0.3576, allocations: 108 kB / 0.9862 GB, free: 8.059 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003401/0.361, allocations: 1.33 MB / 0.9875 GB, free: 6.691 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.004e-05/0.361, allocations: 3.938 kB / 0.9875 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/0.3612, allocations: 36 kB / 0.9876 GB, free: 6.652 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.859e-05/0.3612, allocations: 24 kB / 0.9876 GB, free: 6.629 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004654/0.3659, allocations: 1.374 MB / 0.9889 GB, free: 5.254 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.01079/0.3767, allocations: 5.35 MB / 0.9942 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005881/0.3826, allocations: 1.485 MB / 0.9956 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001717/0.3844, allocations: 0.6213 MB / 0.9962 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001149/0.3856, allocations: 1.236 MB / 0.9974 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001889/0.3875, allocations: 0.6745 MB / 0.9981 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=69): time 4.398e-06/0.3875, allocations: 0 / 0.9981 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69): time 0.005464/0.393, allocations: 1.774 MB / 0.9998 GB, free: 9.418 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.018e-05/0.3931, allocations: 59.97 kB / 0.9999 GB, free: 9.348 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002663/0.3958, allocations: 1.251 MB / 1.001 GB, free: 8.086 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001554/0.3959, allocations: 45.7 kB / 1.001 GB, free: 8.035 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007875/0.3967, allocations: 0.6501 MB / 1.002 GB, free: 7.379 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003333/0.3971, allocations: 240.6 kB / 1.002 GB, free: 7.141 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.602e-05/0.3972, allocations: 16 kB / 1.002 GB, free: 7.125 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.3973, allocations: 330 kB / 1.002 GB, free: 6.797 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001656/0.399, allocations: 0.5406 MB / 1.003 GB, free: 6.254 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001857/0.4009, allocations: 0.7742 MB / 1.004 GB, free: 5.398 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001685/0.4026, allocations: 0.5902 MB / 1.004 GB, free: 4.805 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.799e-06/0.4026, allocations: 4 kB / 1.004 GB, free: 4.801 MB / 0.6511 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00415/0.4067, allocations: 1.45 MB / 1.006 GB, free: 3.336 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.000195/0.407, allocations: 207 kB / 1.006 GB, free: 3.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.407, allocations: 7.984 kB / 1.006 GB, free: 3.082 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.923e-05/0.407, allocations: 7.953 kB / 1.006 GB, free: 3.074 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/0.4083, allocations: 271.7 kB / 1.006 GB, free: 2.809 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.642e-05/0.4084, allocations: 7.938 kB / 1.006 GB, free: 2.801 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001935/0.4103, allocations: 243.1 kB / 1.006 GB, free: 2.562 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001395/0.4105, allocations: 39.97 kB / 1.006 GB, free: 2.523 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.4105, allocations: 4 kB / 1.006 GB, free: 2.52 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003666/0.4142, allocations: 1.298 MB / 1.008 GB, free: 1.211 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.4142, allocations: 4 kB / 1.008 GB, free: 1.207 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.4142, allocations: 12.31 kB / 1.008 GB, free: 1.195 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.4154, allocations: 267.5 kB / 1.008 GB, free: 0.9336 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/0.4155, allocations: 4 kB / 1.008 GB, free: 0.9297 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001873/0.4174, allocations: 239.1 kB / 1.008 GB, free: 0.6953 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/0.4175, allocations: 43.97 kB / 1.008 GB, free: 0.6523 MB / 0.6511 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.001006/0.4185, allocations: 409.3 kB / 1.009 GB, free: 248 kB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005607/0.4191, allocations: 146.2 kB / 1.009 GB, free: 100 kB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004476/0.4236, allocations: 1.52 MB / 1.01 GB, free: 14.56 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.028e-05/0.4236, allocations: 8 kB / 1.01 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.4236, allocations: 0 / 1.01 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003353/0.427, allocations: 1.277 MB / 1.011 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007944/0.435, allocations: 3.229 MB / 1.015 GB, free: 9.852 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.336e-05/0.435, allocations: 4 kB / 1.015 GB, free: 9.848 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001238/0.4363, allocations: 244.2 kB / 1.015 GB, free: 9.609 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.457e-05/0.4363, allocations: 8 kB / 1.015 GB, free: 9.602 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.412e-05/0.4364, allocations: 23.98 kB / 1.015 GB, free: 9.578 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.237e-05/0.4364, allocations: 7.984 kB / 1.015 GB, free: 9.57 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.034e-05/0.4364, allocations: 19.88 kB / 1.015 GB, free: 9.551 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005976/0.4424, allocations: 2.298 MB / 1.017 GB, free: 7.18 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001176/0.4436, allocations: 366.8 kB / 1.017 GB, free: 6.801 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005169/0.4442, allocations: 24 kB / 1.018 GB, free: 6.777 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001816/0.446, allocations: 183.7 kB / 1.018 GB, free: 6.598 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001868/0.4462, allocations: 76.36 kB / 1.018 GB, free: 6.52 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001191/0.4464, allocations: 39.97 kB / 1.018 GB, free: 6.48 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001983/0.4483, allocations: 0.8889 MB / 1.019 GB, free: 5.594 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.71e-07/0.4484, allocations: 0 / 1.019 GB, free: 5.594 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003125/0.4515, allocations: 0.772 MB / 1.019 GB, free: 4.82 MB / 0.6667 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.001394/0.4529, allocations: 485.4 kB / 1.02 GB, free: 4.352 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.005916/0.4588, allocations: 2.07 MB / 1.022 GB, free: 2.254 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.415e-06/0.4589, allocations: 3.938 kB / 1.022 GB, free: 2.25 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002041/0.4609, allocations: 0.6952 MB / 1.023 GB, free: 1.555 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004866/0.4658, allocations: 0.7553 MB / 1.023 GB, free: 0.8125 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006682/0.4725, allocations: 3.203 MB / 1.026 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001205/0.4738, allocations: 1.222 MB / 1.028 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006916/0.4745, allocations: 135.4 kB / 1.028 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of SimCode: time 1.633e-06/0.4745, allocations: 0 / 1.028 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of Templates: time 0.04642/0.5209, allocations: 26.3 MB / 1.053 GB, free: 1.996 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)