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.369/1.369, allocations: 252 MB / 267.9 MB, free: 10.93 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.001011/0.001011, allocations: 182.8 kB / 327.6 MB, free: 2.176 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.604/1.604, allocations: 205.4 MB / 0.5785 GB, free: 20.22 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.0006758/0.0006759, allocations: 103.3 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003857/0.0003857, allocations: 13.38 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2174, allocations: 106.3 MB / 0.9012 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8078/1.025, allocations: 409.7 MB / 1.301 GB, free: 5.684 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/1.026, allocations: 100.1 kB / 1.301 GB, free: 5.629 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.085/3.111, allocations: 0.6038 GB / 1.905 GB, free: 179.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.053e-06/3.111, allocations: 0 / 1.905 GB, free: 179.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002304/3.111, allocations: 44.78 kB / 1.905 GB, free: 179.3 MB / 0.8855 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.005814/3.117, allocations: 2.048 MB / 1.907 GB, free: 177.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.966e-05/3.117, allocations: 12.69 kB / 1.907 GB, free: 177.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003519/3.12, allocations: 0.6266 MB / 1.908 GB, free: 177.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004118/3.125, allocations: 1.638 MB / 1.909 GB, free: 176.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002017/3.125, allocations: 147.2 kB / 1.91 GB, free: 176.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003742/3.125, allocations: 107.1 kB / 1.91 GB, free: 176.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002686/3.128, allocations: 1.329 MB / 1.911 GB, free: 175.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.469e-05/3.128, allocations: 11.12 kB / 1.911 GB, free: 175.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.724e-05/3.128, allocations: 42.55 kB / 1.911 GB, free: 175.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.07e-05/3.128, allocations: 25.09 kB / 1.911 GB, free: 175.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003118/3.131, allocations: 1.379 MB / 1.912 GB, free: 174.8 MB / 0.8855 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.006159/3.137, allocations: 5.327 MB / 1.918 GB, free: 170.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005009/3.142, allocations: 1.353 MB / 1.919 GB, free: 169.7 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001468/3.144, allocations: 0.6578 MB / 1.92 GB, free: 169 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007341/3.145, allocations: 1.238 MB / 1.921 GB, free: 167.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00157/3.146, allocations: 0.7369 MB / 1.921 GB, free: 166.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=67): time 5.36e-06/3.146, allocations: 0 / 1.921 GB, free: 166.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=67): time 0.004587/3.151, allocations: 1.82 MB / 1.923 GB, free: 165 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/3.151, allocations: 115.4 kB / 1.923 GB, free: 164.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001448/3.152, allocations: 1.255 MB / 1.925 GB, free: 163.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.411e-05/3.152, allocations: 41.7 kB / 1.925 GB, free: 163.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000487/3.153, allocations: 0.6711 MB / 1.925 GB, free: 162.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001787/3.153, allocations: 233.1 kB / 1.926 GB, free: 162.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.707e-05/3.153, allocations: 16 kB / 1.926 GB, free: 162.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.129e-05/3.153, allocations: 335.5 kB / 1.926 GB, free: 162.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001323/3.155, allocations: 0.5469 MB / 1.926 GB, free: 161.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001455/3.156, allocations: 0.8165 MB / 1.927 GB, free: 160.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002647/3.159, allocations: 1.179 MB / 1.928 GB, free: 159.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/3.159, allocations: 4 kB / 1.928 GB, free: 159.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003269/3.162, allocations: 1.433 MB / 1.93 GB, free: 158.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.601e-05/3.162, allocations: 211 kB / 1.93 GB, free: 158 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/3.162, allocations: 6.5 kB / 1.93 GB, free: 158 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/3.162, allocations: 4 kB / 1.93 GB, free: 158 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/3.163, allocations: 265.2 kB / 1.93 GB, free: 157.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/3.163, allocations: 15.48 kB / 1.93 GB, free: 157.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/3.165, allocations: 229.7 kB / 1.93 GB, free: 157.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/3.165, allocations: 51.97 kB / 1.93 GB, free: 157.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.991e-06/3.165, allocations: 4 kB / 1.93 GB, free: 157.5 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002898/3.168, allocations: 1.29 MB / 1.932 GB, free: 156.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/3.168, allocations: 4 kB / 1.932 GB, free: 156.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.673e-06/3.168, allocations: 4 kB / 1.932 GB, free: 156.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/3.169, allocations: 260 kB / 1.932 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/3.169, allocations: 11.92 kB / 1.932 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/3.171, allocations: 238.7 kB / 1.932 GB, free: 155.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.106e-05/3.171, allocations: 43.98 kB / 1.932 GB, free: 155.6 MB / 0.8855 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 (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.001094/3.172, allocations: 408.9 kB / 1.933 GB, free: 155.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002878/3.172, allocations: 146.2 kB / 1.933 GB, free: 155.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003631/3.176, allocations: 1.498 MB / 1.934 GB, free: 153.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.105e-05/3.176, allocations: 8 kB / 1.934 GB, free: 153.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/3.176, allocations: 7.875 kB / 1.934 GB, free: 153.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002855/3.179, allocations: 1.308 MB / 1.936 GB, free: 152.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006099/3.185, allocations: 3.484 MB / 1.939 GB, free: 148.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/3.185, allocations: 4 kB / 1.939 GB, free: 148.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/3.186, allocations: 239.6 kB / 1.939 GB, free: 148.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/3.186, allocations: 12 kB / 1.939 GB, free: 148.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.287e-05/3.186, allocations: 31.98 kB / 1.939 GB, free: 148.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.043e-05/3.186, allocations: 11.92 kB / 1.939 GB, free: 148.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/3.186, allocations: 8 kB / 1.939 GB, free: 148.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004537/3.191, allocations: 2.383 MB / 1.942 GB, free: 145.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007142/3.191, allocations: 467.8 kB / 1.942 GB, free: 145.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002816/3.192, allocations: 23.98 kB / 1.942 GB, free: 145.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001398/3.193, allocations: 179.7 kB / 1.942 GB, free: 145.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/3.193, allocations: 72.34 kB / 1.942 GB, free: 145.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-05/3.193, allocations: 47.97 kB / 1.942 GB, free: 145 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001142/3.194, allocations: 0.8851 MB / 1.943 GB, free: 144.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/3.194, allocations: 3.609 kB / 1.943 GB, free: 144.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002082/3.196, allocations: 0.8304 MB / 1.944 GB, free: 143.3 MB / 0.8855 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.001218/3.198, allocations: 0.7766 MB / 1.945 GB, free: 142.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004439/3.202, allocations: 2.035 MB / 1.947 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/3.202, allocations: 4 kB / 1.947 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00156/3.204, allocations: 0.703 MB / 1.947 GB, free: 139.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004157/3.208, allocations: 0.7832 MB / 1.948 GB, free: 139.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004109/3.212, allocations: 3.165 MB / 1.951 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005778/3.213, allocations: 1.23 MB / 1.953 GB, free: 134.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001677/3.214, allocations: 367.8 kB / 1.953 GB, free: 134.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003508/3.215, allocations: 131.4 kB / 1.953 GB, free: 134.2 MB / 0.8855 GB Notification: Performance of SimCode: time 6.21e-07/3.215, allocations: 0 / 1.953 GB, free: 134.2 MB / 0.8855 GB Notification: Performance of Templates: time 0.04516/3.26, allocations: 33.92 MB / 1.986 GB, free: 101.3 MB / 0.8855 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)