Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.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.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.595/1.595, allocations: 289.9 MB / 297.4 MB, free: 6.359 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.001018/0.001018, allocations: 176.9 kB / 366.7 MB, free: 1.648 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.607/1.607, allocations: 205.2 MB / 0.626 GB, free: 7.145 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.0008404/0.0008403, allocations: 94.75 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.301e-05/2.295e-05, allocations: 7.984 kB / 0.8597 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7235/0.7235, allocations: 116.3 MB / 0.9732 GB, free: 76.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.047/1.771, allocations: 417.5 MB / 1.381 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/1.771, allocations: 87.2 kB / 1.381 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.43/4.201, allocations: 0.6199 GB / 2.001 GB, free: 167.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.504e-06/4.201, allocations: 0.7969 kB / 2.001 GB, free: 167.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001676/4.202, allocations: 42.28 kB / 2.001 GB, free: 167.8 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.004026/4.206, allocations: 1.781 MB / 2.003 GB, free: 167.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/4.206, allocations: 8.812 kB / 2.003 GB, free: 167.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00368/4.209, allocations: 0.6317 MB / 2.003 GB, free: 167.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004161/4.213, allocations: 1.651 MB / 2.005 GB, free: 166.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001487/4.214, allocations: 107.5 kB / 2.005 GB, free: 166.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001732/4.214, allocations: 64.66 kB / 2.005 GB, free: 166.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001694/4.216, allocations: 0.925 MB / 2.006 GB, free: 166.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/4.217, allocations: 0.996 MB / 2.007 GB, free: 166.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/4.217, allocations: 1.062 kB / 2.007 GB, free: 166.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.863e-05/4.217, allocations: 6.062 kB / 2.007 GB, free: 166.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.916e-05/4.217, allocations: 30.69 kB / 2.007 GB, free: 166.7 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.006524/4.224, allocations: 5.248 MB / 2.012 GB, free: 164.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/4.225, allocations: 0.6766 MB / 2.013 GB, free: 164.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005329/4.225, allocations: 433.9 kB / 2.013 GB, free: 164.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006889/4.226, allocations: 1.239 MB / 2.014 GB, free: 162.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006538/4.227, allocations: 0.5311 MB / 2.015 GB, free: 162.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=67): time 2.725e-06/4.227, allocations: 0 / 2.015 GB, free: 162.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=67): time 0.001847/4.229, allocations: 0.9096 MB / 2.016 GB, free: 162.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/4.229, allocations: 116.4 kB / 2.016 GB, free: 162.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/4.23, allocations: 1.04 MB / 2.017 GB, free: 162.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.183e-05/4.23, allocations: 25.7 kB / 2.017 GB, free: 162.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004524/4.23, allocations: 0.6875 MB / 2.018 GB, free: 162.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001784/4.231, allocations: 217.1 kB / 2.018 GB, free: 162.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.259e-05/4.231, allocations: 0 / 2.018 GB, free: 162.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.786e-05/4.231, allocations: 340.6 kB / 2.018 GB, free: 161.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004285/4.231, allocations: 350.9 kB / 2.019 GB, free: 161.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000547/4.232, allocations: 0.5903 MB / 2.019 GB, free: 161.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008461/4.233, allocations: 437.2 kB / 2.02 GB, free: 161.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/4.233, allocations: 0 / 2.02 GB, free: 161.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001678/4.234, allocations: 1.032 MB / 2.021 GB, free: 161.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002273/4.235, allocations: 1.189 MB / 2.022 GB, free: 160.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/4.235, allocations: 3.938 kB / 2.022 GB, free: 160.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/4.235, allocations: 12.34 kB / 2.022 GB, free: 160.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/4.236, allocations: 276.9 kB / 2.022 GB, free: 160.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/4.236, allocations: 12.62 kB / 2.022 GB, free: 160.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/4.237, allocations: 208.3 kB / 2.022 GB, free: 160.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.996e-05/4.238, allocations: 52.56 kB / 2.022 GB, free: 160.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/4.238, allocations: 4.781 kB / 2.022 GB, free: 160.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001421/4.239, allocations: 0.8556 MB / 2.023 GB, free: 160.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/4.239, allocations: 3.812 kB / 2.023 GB, free: 160.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.426e-06/4.239, allocations: 11.08 kB / 2.023 GB, free: 160.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/4.24, allocations: 268.4 kB / 2.023 GB, free: 160.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.496e-05/4.24, allocations: 11.61 kB / 2.023 GB, free: 160.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/4.242, allocations: 193.2 kB / 2.024 GB, free: 160.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.048e-05/4.242, allocations: 50.48 kB / 2.024 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.0002344/4.242, allocations: 135.6 kB / 2.024 GB, free: 160 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002015/4.242, allocations: 144.7 kB / 2.024 GB, free: 160 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002011/4.244, allocations: 1.089 MB / 2.025 GB, free: 159.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/4.244, allocations: 7.781 kB / 2.025 GB, free: 159.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/4.244, allocations: 2.344 kB / 2.025 GB, free: 159.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001293/4.246, allocations: 0.9248 MB / 2.026 GB, free: 159.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004311/4.25, allocations: 2.993 MB / 2.029 GB, free: 158.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/4.25, allocations: 6.562 kB / 2.029 GB, free: 158.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/4.251, allocations: 242.4 kB / 2.029 GB, free: 158.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.145e-05/4.251, allocations: 7.25 kB / 2.029 GB, free: 158.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.008e-05/4.251, allocations: 27.59 kB / 2.029 GB, free: 158.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.797e-06/4.251, allocations: 10.78 kB / 2.029 GB, free: 158.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/4.251, allocations: 8.25 kB / 2.029 GB, free: 158.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002682/4.254, allocations: 2.045 MB / 2.031 GB, free: 158.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008165/4.255, allocations: 475.1 kB / 2.031 GB, free: 157.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001888/4.255, allocations: 10.22 kB / 2.031 GB, free: 157.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/4.256, allocations: 164.4 kB / 2.032 GB, free: 157.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/4.256, allocations: 72.2 kB / 2.032 GB, free: 157.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/4.256, allocations: 50.83 kB / 2.032 GB, free: 157.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001173/4.258, allocations: 0.7896 MB / 2.033 GB, free: 157.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.71e-07/4.258, allocations: 4.969 kB / 2.033 GB, free: 157.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002733/4.26, allocations: 0.8306 MB / 2.033 GB, free: 157.7 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.001556/4.262, allocations: 0.8188 MB / 2.034 GB, free: 157.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002311/4.264, allocations: 1.431 MB / 2.036 GB, free: 157.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/4.264, allocations: 4.406 kB / 2.036 GB, free: 157.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000815/4.265, allocations: 0.4924 MB / 2.036 GB, free: 157.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003401/4.269, allocations: 0.6322 MB / 2.037 GB, free: 157.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003428/4.272, allocations: 1.991 MB / 2.039 GB, free: 156.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007068/4.273, allocations: 1.276 MB / 2.04 GB, free: 156 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002193/4.275, allocations: 469.7 kB / 2.04 GB, free: 156 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002995/4.275, allocations: 97.62 kB / 2.04 GB, free: 156 MB / 0.948 GB Notification: Performance of SimCode: time 5.51e-07/4.275, allocations: 0 / 2.04 GB, free: 156 MB / 0.948 GB Notification: Performance of Templates: time 0.0609/4.336, allocations: 29.78 MB / 2.069 GB, free: 155.2 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.makefile (rm -f Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & ./Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1)