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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.643/1.643, allocations: 289.9 MB / 297.4 MB, free: 6.395 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.001163/0.001163, allocations: 172.9 kB / 366.7 MB, free: 1.691 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.652/1.652, allocations: 205.3 MB / 0.626 GB, free: 7.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001007/0.001007, allocations: 94.47 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.774e-05/2.82e-05, allocations: 4 kB / 0.8597 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6857/0.6857, allocations: 116.3 MB / 0.9732 GB, free: 76.44 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.118/1.804, allocations: 417.5 MB / 1.381 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002097/1.804, allocations: 90.08 kB / 1.381 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.4/4.204, allocations: 0.6193 GB / 2 GB, free: 167.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.613e-06/4.204, allocations: 1.75 kB / 2 GB, free: 167.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001531/4.204, allocations: 40.36 kB / 2 GB, free: 167.9 MB / 0.948 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.003888/4.208, allocations: 1.759 MB / 2.002 GB, free: 167.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/4.208, allocations: 10.06 kB / 2.002 GB, free: 167.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003726/4.212, allocations: 0.6313 MB / 2.003 GB, free: 167.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00378/4.216, allocations: 1.629 MB / 2.004 GB, free: 167 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000143/4.216, allocations: 110.4 kB / 2.004 GB, free: 166.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001707/4.216, allocations: 61.47 kB / 2.004 GB, free: 166.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00176/4.218, allocations: 0.9059 MB / 2.005 GB, free: 166.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001804/4.22, allocations: 0.9817 MB / 2.006 GB, free: 166.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.219e-05/4.22, allocations: 3.281 kB / 2.006 GB, free: 166.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.333e-05/4.22, allocations: 5.031 kB / 2.006 GB, free: 166.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-05/4.22, allocations: 24.06 kB / 2.006 GB, free: 166.8 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.006699/4.227, allocations: 5.192 MB / 2.011 GB, free: 164.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004036/4.231, allocations: 1.072 MB / 2.012 GB, free: 164.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005342/4.231, allocations: 430.8 kB / 2.013 GB, free: 164.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007172/4.232, allocations: 1.243 MB / 2.014 GB, free: 163 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006597/4.233, allocations: 0.5213 MB / 2.015 GB, free: 162.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=67): time 2.034e-06/4.233, allocations: 0 / 2.015 GB, free: 162.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=67): time 0.001946/4.235, allocations: 0.8741 MB / 2.015 GB, free: 162.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/4.235, allocations: 110.8 kB / 2.016 GB, free: 162.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/4.236, allocations: 0.9981 MB / 2.017 GB, free: 162.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000101/4.236, allocations: 29.61 kB / 2.017 GB, free: 162.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004976/4.237, allocations: 0.6642 MB / 2.017 GB, free: 162.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002034/4.237, allocations: 222.6 kB / 2.017 GB, free: 162.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.217e-05/4.237, allocations: 0 / 2.017 GB, free: 162.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.439e-05/4.237, allocations: 342 kB / 2.018 GB, free: 161.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004425/4.237, allocations: 338.1 kB / 2.018 GB, free: 161.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005821/4.238, allocations: 0.5862 MB / 2.019 GB, free: 161.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008142/4.239, allocations: 405.1 kB / 2.019 GB, free: 161.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/4.239, allocations: 0 / 2.019 GB, free: 161.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001679/4.24, allocations: 0.9856 MB / 2.02 GB, free: 161.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002636/4.241, allocations: 1.194 MB / 2.021 GB, free: 160.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/4.241, allocations: 3.656 kB / 2.021 GB, free: 160.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/4.241, allocations: 7.812 kB / 2.021 GB, free: 160.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/4.242, allocations: 276.5 kB / 2.021 GB, free: 160.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/4.242, allocations: 6.969 kB / 2.021 GB, free: 160.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/4.244, allocations: 210.8 kB / 2.022 GB, free: 160.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/4.244, allocations: 44.52 kB / 2.022 GB, free: 160.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.739e-06/4.244, allocations: 4.469 kB / 2.022 GB, free: 160.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001408/4.245, allocations: 0.8221 MB / 2.022 GB, free: 160.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/4.245, allocations: 3.594 kB / 2.022 GB, free: 160.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.807e-06/4.245, allocations: 3.938 kB / 2.022 GB, free: 160.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/4.246, allocations: 276.9 kB / 2.023 GB, free: 160.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/4.246, allocations: 7.875 kB / 2.023 GB, free: 160.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/4.248, allocations: 206.7 kB / 2.023 GB, free: 160.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.843e-05/4.248, allocations: 42.95 kB / 2.023 GB, free: 160.2 MB / 0.948 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * 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.0002409/4.248, allocations: 130.5 kB / 2.023 GB, free: 160.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002415/4.249, allocations: 136 kB / 2.023 GB, free: 160.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001925/4.251, allocations: 1.054 MB / 2.024 GB, free: 160 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/4.251, allocations: 7.844 kB / 2.024 GB, free: 160 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/4.251, allocations: 0.9375 kB / 2.024 GB, free: 160 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001237/4.252, allocations: 0.8976 MB / 2.025 GB, free: 159.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00416/4.256, allocations: 2.91 MB / 2.028 GB, free: 159 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/4.256, allocations: 6.906 kB / 2.028 GB, free: 159 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001096/4.257, allocations: 238.9 kB / 2.028 GB, free: 159 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-05/4.257, allocations: 7.531 kB / 2.028 GB, free: 159 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.004e-05/4.257, allocations: 20.44 kB / 2.028 GB, free: 159 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.017e-05/4.257, allocations: 12.53 kB / 2.028 GB, free: 159 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/4.257, allocations: 5.625 kB / 2.028 GB, free: 159 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002332/4.26, allocations: 1.985 MB / 2.03 GB, free: 158.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006941/4.26, allocations: 462.1 kB / 2.031 GB, free: 158 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001803/4.261, allocations: 10.38 kB / 2.031 GB, free: 158 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/4.262, allocations: 165.3 kB / 2.031 GB, free: 158 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/4.262, allocations: 74.69 kB / 2.031 GB, free: 158 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.82e-05/4.262, allocations: 51.12 kB / 2.031 GB, free: 158 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009015/4.263, allocations: 0.7583 MB / 2.032 GB, free: 157.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/4.263, allocations: 0 / 2.032 GB, free: 157.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002445/4.265, allocations: 0.8191 MB / 2.033 GB, free: 157.8 MB / 0.948 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) * 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.00147/4.267, allocations: 0.8043 MB / 2.033 GB, free: 157.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002291/4.269, allocations: 1.408 MB / 2.035 GB, free: 157.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/4.269, allocations: 1.125 kB / 2.035 GB, free: 157.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008036/4.27, allocations: 0.4885 MB / 2.035 GB, free: 157.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00325/4.273, allocations: 0.6301 MB / 2.036 GB, free: 157.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003665/4.277, allocations: 1.939 MB / 2.038 GB, free: 156.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008201/4.278, allocations: 1.264 MB / 2.039 GB, free: 156.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002332/4.28, allocations: 460.3 kB / 2.039 GB, free: 156.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003205/4.28, allocations: 94.33 kB / 2.039 GB, free: 156.1 MB / 0.948 GB Notification: Performance of SimCode: time 8.02e-07/4.28, allocations: 0 / 2.039 GB, free: 156.1 MB / 0.948 GB Notification: Performance of Templates: time 0.06399/4.344, allocations: 29.45 MB / 2.068 GB, free: 155.3 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (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)