Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001503/0.001503, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 205.4 MB / 222.1 MB, free: 5.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.666/1.666, allocations: 292.6 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005632/0.0005633, allocations: 18.3 kB / 0.6735 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2543, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.04878/0.3032, allocations: 50.6 MB / 0.8365 GB, free: 9.219 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01649/0.3197, allocations: 11.24 MB / 0.8475 GB, free: 13.96 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003332/0.3231, allocations: 55.62 kB / 0.8476 GB, free: 13.91 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003848/0.327, allocations: 0.9174 MB / 0.8484 GB, free: 12.98 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007857/0.3348, allocations: 2.224 MB / 0.8506 GB, free: 10.75 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005439/0.3403, allocations: 1.712 MB / 0.8523 GB, free: 9.074 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005562/0.3459, allocations: 2.533 MB / 0.8548 GB, free: 6.543 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002192/0.3481, allocations: 0.9935 MB / 0.8557 GB, free: 5.527 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002646/0.3507, allocations: 1.172 MB / 0.8569 GB, free: 4.352 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00174/0.3525, allocations: 0.7932 MB / 0.8577 GB, free: 3.555 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003557/0.3529, allocations: 56 kB / 0.8577 GB, free: 3.5 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002801/0.3557, allocations: 0.901 MB / 0.8586 GB, free: 2.598 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004149/0.3561, allocations: 294.8 kB / 0.8589 GB, free: 2.309 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0006095/0.3567, allocations: 356.8 kB / 0.8592 GB, free: 1.953 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002485/0.3592, allocations: 1.851 MB / 0.861 GB, free: 100 kB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3592, allocations: 0 / 0.861 GB, free: 100 kB / 0.67 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3593, allocations: 3.938 kB / 0.861 GB, free: 96 kB / 0.67 GB Notification: Performance of Transformations before backend: time 1.563e-05/0.3593, allocations: 0 / 0.861 GB, free: 96 kB / 0.67 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.003027/0.3623, allocations: 1.863 MB / 0.8628 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.3624, allocations: 8.031 kB / 0.8628 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003238/0.3656, allocations: 0.6379 MB / 0.8635 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002169/0.3678, allocations: 1.225 MB / 0.8647 GB, free: 12.24 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001537/0.3679, allocations: 145.4 kB / 0.8648 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/0.3681, allocations: 100 kB / 0.8649 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002704/0.3708, allocations: 1.334 MB / 0.8662 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.809e-05/0.3709, allocations: 3.938 kB / 0.8662 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.371, allocations: 36 kB / 0.8662 GB, free: 10.58 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.74e-05/0.371, allocations: 24 kB / 0.8663 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003424/0.3745, allocations: 1.37 MB / 0.8676 GB, free: 9.188 MB / 0.6856 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.006727/0.3812, allocations: 5.374 MB / 0.8729 GB, free: 3.461 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005364/0.3866, allocations: 1.521 MB / 0.8743 GB, free: 1.898 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001052/0.3877, allocations: 1.232 MB / 0.8755 GB, free: 400 kB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001836/0.3895, allocations: 0.6823 MB / 0.8762 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=69): time 3.747e-06/0.3895, allocations: 0 / 0.8762 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69): time 0.005032/0.3946, allocations: 1.774 MB / 0.8779 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.3946, allocations: 59.97 kB / 0.878 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001517/0.3961, allocations: 1.255 MB / 0.8792 GB, free: 12.58 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.141e-05/0.3963, allocations: 45.7 kB / 0.8793 GB, free: 12.53 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005302/0.3968, allocations: 0.6424 MB / 0.8799 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002122/0.397, allocations: 236.6 kB / 0.8801 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.871e-05/0.3971, allocations: 20 kB / 0.8801 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.3972, allocations: 345.9 kB / 0.8805 GB, free: 11.28 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001469/0.3987, allocations: 0.5367 MB / 0.881 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001637/0.4003, allocations: 0.7664 MB / 0.8817 GB, free: 9.895 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/0.4018, allocations: 0.5979 MB / 0.8823 GB, free: 9.293 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.4018, allocations: 4 kB / 0.8823 GB, free: 9.289 MB / 0.7012 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.003607/0.4054, allocations: 1.446 MB / 0.8837 GB, free: 7.832 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.000508/0.406, allocations: 1.195 MB / 0.8849 GB, free: 6.562 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.406, allocations: 4 kB / 0.8849 GB, free: 6.559 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.589e-05/0.406, allocations: 11.98 kB / 0.8849 GB, free: 6.547 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.4073, allocations: 271.6 kB / 0.8852 GB, free: 6.281 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.933e-05/0.4073, allocations: 15.92 kB / 0.8852 GB, free: 6.266 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001852/0.4092, allocations: 254.9 kB / 0.8854 GB, free: 6.016 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.4093, allocations: 35.98 kB / 0.8855 GB, free: 5.98 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.4093, allocations: 4 kB / 0.8855 GB, free: 5.977 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003406/0.4127, allocations: 1.302 MB / 0.8867 GB, free: 4.672 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.4127, allocations: 4 kB / 0.8868 GB, free: 4.668 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.195e-06/0.4128, allocations: 4 kB / 0.8868 GB, free: 4.664 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.4139, allocations: 279.6 kB / 0.887 GB, free: 4.391 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/0.414, allocations: 4 kB / 0.887 GB, free: 4.387 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/0.4155, allocations: 239.1 kB / 0.8873 GB, free: 4.152 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.145e-05/0.4156, allocations: 39.97 kB / 0.8873 GB, free: 4.113 MB / 0.7012 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.0007233/0.4163, allocations: 416.7 kB / 0.8877 GB, free: 3.695 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002547/0.4166, allocations: 150.2 kB / 0.8878 GB, free: 3.547 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003889/0.4205, allocations: 1.508 MB / 0.8893 GB, free: 2.016 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.07e-05/0.4205, allocations: 8 kB / 0.8893 GB, free: 2.008 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.4205, allocations: 0 / 0.8893 GB, free: 2.008 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003178/0.4237, allocations: 1.281 MB / 0.8906 GB, free: 0.6953 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006813/0.4305, allocations: 3.245 MB / 0.8937 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.407e-06/0.4306, allocations: 8.062 kB / 0.8937 GB, free: 13.28 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/0.4317, allocations: 231.7 kB / 0.894 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.907e-05/0.4317, allocations: 8 kB / 0.894 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.366e-05/0.4318, allocations: 27.98 kB / 0.894 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.063e-05/0.4318, allocations: 8 kB / 0.894 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/0.4318, allocations: 7.938 kB / 0.894 GB, free: 13 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005495/0.4373, allocations: 2.579 MB / 0.8965 GB, free: 10.17 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009243/0.4383, allocations: 378.8 kB / 0.8969 GB, free: 9.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003255/0.4386, allocations: 16 kB / 0.8969 GB, free: 9.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001568/0.4402, allocations: 183.8 kB / 0.8971 GB, free: 9.582 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/0.4404, allocations: 72.38 kB / 0.8972 GB, free: 9.512 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.414e-05/0.4405, allocations: 35.97 kB / 0.8972 GB, free: 9.477 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001353/0.4419, allocations: 0.9007 MB / 0.8981 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4.61e-07/0.4419, allocations: 0 / 0.8981 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002542/0.4444, allocations: 0.7876 MB / 0.8988 GB, free: 7.789 MB / 0.7169 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.0012/0.4456, allocations: 0.5059 MB / 0.8993 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005406/0.451, allocations: 2.074 MB / 0.9014 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.4511, allocations: 7.938 kB / 0.9014 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001887/0.453, allocations: 0.7069 MB / 0.9021 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00411/0.4571, allocations: 0.7391 MB / 0.9028 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005692/0.4628, allocations: 3.146 MB / 0.9058 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009188/0.4638, allocations: 1.257 MB / 0.9071 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001832/0.4656, allocations: 354.8 kB / 0.9074 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004122/0.466, allocations: 119.4 kB / 0.9075 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of SimCode: time 8.11e-07/0.466, allocations: 0 / 0.9075 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of Templates: time 0.446/0.912, allocations: 29.21 MB / 0.9361 GB, free: 129.2 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1) Environment - environmentSimulation: