Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.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.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.388/1.388, allocations: 252 MB / 268 MB, free: 10.85 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.001083/0.001083, allocations: 179 kB / 327.6 MB, free: 2.066 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.674/1.674, allocations: 205.4 MB / 0.5786 GB, free: 20.2 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.0007735/0.0007734, allocations: 103.8 kB / 0.6833 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.000353, allocations: 8.5 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2256, allocations: 106.3 MB / 0.9014 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR): time 0.04311/0.2687, allocations: 58.99 MB / 0.959 GB, free: 4.285 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01791/0.2867, allocations: 12.98 MB / 0.9717 GB, free: 7.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002875/0.2896, allocations: 55.62 kB / 0.9718 GB, free: 7.215 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002653/0.2923, allocations: 0.8041 MB / 0.9726 GB, free: 6.406 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.006762/0.2991, allocations: 2.126 MB / 0.9746 GB, free: 4.273 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.004241/0.3033, allocations: 1.374 MB / 0.976 GB, free: 2.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00749/0.3108, allocations: 5.507 MB / 0.9814 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002258/0.3131, allocations: 1.099 MB / 0.9824 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003314/0.3165, allocations: 1.349 MB / 0.9838 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002304/0.3188, allocations: 1.155 MB / 0.9849 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004196/0.3192, allocations: 60 kB / 0.9849 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004037/0.3233, allocations: 1.376 MB / 0.9863 GB, free: 8.305 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0006861/0.324, allocations: 330.5 kB / 0.9866 GB, free: 7.98 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001889/0.3259, allocations: 0.8447 MB / 0.9874 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003364/0.3293, allocations: 2.03 MB / 0.9894 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.3293, allocations: 0 / 0.9894 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.704e-06/0.3293, allocations: 0 / 0.9894 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.77e-05/0.3294, allocations: 4 kB / 0.9894 GB, free: 5.086 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.004292/0.3337, allocations: 1.896 MB / 0.9913 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.3337, allocations: 8.031 kB / 0.9913 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003665/0.3374, allocations: 0.6463 MB / 0.9919 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002899/0.3403, allocations: 1.389 MB / 0.9933 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001956/0.3405, allocations: 145.4 kB / 0.9934 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002411/0.3408, allocations: 100 kB / 0.9935 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003303/0.3441, allocations: 1.342 MB / 0.9948 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.999e-05/0.3442, allocations: 4 kB / 0.9948 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/0.3443, allocations: 40 kB / 0.9948 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-05/0.3443, allocations: 24 kB / 0.9949 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0039/0.3482, allocations: 1.39 MB / 0.9962 GB, free: 13.94 MB / 0.6511 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.008172/0.3564, allocations: 5.379 MB / 1.001 GB, free: 8.215 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002643/0.3591, allocations: 1.093 MB / 1.003 GB, free: 7.07 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001657/0.3608, allocations: 0.631 MB / 1.003 GB, free: 6.438 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001013/0.3618, allocations: 1.24 MB / 1.004 GB, free: 4.922 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001932/0.3638, allocations: 0.6784 MB / 1.005 GB, free: 4.234 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=69): time 5.4e-06/0.3638, allocations: 4 kB / 1.005 GB, free: 4.23 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69): time 0.00544/0.3692, allocations: 1.805 MB / 1.007 GB, free: 2.418 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.861e-05/0.3693, allocations: 63.95 kB / 1.007 GB, free: 2.34 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002298/0.3716, allocations: 1.312 MB / 1.008 GB, free: 1.02 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000127/0.3718, allocations: 41.7 kB / 1.008 GB, free: 0.9727 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006972/0.3725, allocations: 0.6738 MB / 1.009 GB, free: 296 kB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002769/0.3728, allocations: 236.6 kB / 1.009 GB, free: 56 kB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.01e-05/0.3728, allocations: 12 kB / 1.009 GB, free: 44 kB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.373, allocations: 334 kB / 1.009 GB, free: 15.71 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00165/0.3747, allocations: 0.5602 MB / 1.01 GB, free: 15.15 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001801/0.3765, allocations: 0.782 MB / 1.011 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00329/0.3798, allocations: 1.214 MB / 1.012 GB, free: 13.03 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.3798, allocations: 4 kB / 1.012 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.003984/0.3838, allocations: 1.473 MB / 1.013 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001782/0.384, allocations: 211.2 kB / 1.014 GB, free: 11.28 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.384, allocations: 4 kB / 1.014 GB, free: 11.28 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.384, allocations: 8 kB / 1.014 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.3853, allocations: 271.6 kB / 1.014 GB, free: 11 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.318e-05/0.3853, allocations: 8 kB / 1.014 GB, free: 11 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/0.3871, allocations: 247 kB / 1.014 GB, free: 10.75 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/0.3872, allocations: 43.91 kB / 1.014 GB, free: 10.71 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.3872, allocations: 4 kB / 1.014 GB, free: 10.71 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003561/0.3908, allocations: 1.317 MB / 1.015 GB, free: 9.379 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.3908, allocations: 320 / 1.015 GB, free: 9.379 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.3908, allocations: 12 kB / 1.015 GB, free: 9.367 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/0.392, allocations: 267.6 kB / 1.016 GB, free: 9.105 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.733e-05/0.3921, allocations: 12 kB / 1.016 GB, free: 9.094 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/0.3937, allocations: 227.1 kB / 1.016 GB, free: 8.871 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.617e-05/0.3938, allocations: 43.97 kB / 1.016 GB, free: 8.828 MB / 0.6667 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007372/0.3946, allocations: 417.4 kB / 1.016 GB, free: 8.41 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003161/0.3949, allocations: 150.1 kB / 1.016 GB, free: 8.262 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003889/0.3988, allocations: 1.536 MB / 1.018 GB, free: 6.707 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-05/0.3988, allocations: 11.98 kB / 1.018 GB, free: 6.695 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.739e-06/0.3988, allocations: 3.938 kB / 1.018 GB, free: 6.691 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003188/0.402, allocations: 1.3 MB / 1.019 GB, free: 5.359 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006748/0.4088, allocations: 3.273 MB / 1.022 GB, free: 1.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.4088, allocations: 4 kB / 1.022 GB, free: 1.926 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/0.41, allocations: 240.2 kB / 1.023 GB, free: 1.691 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.317e-05/0.41, allocations: 8 kB / 1.023 GB, free: 1.684 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.57e-05/0.4101, allocations: 27.97 kB / 1.023 GB, free: 1.656 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.025e-05/0.4101, allocations: 7.938 kB / 1.023 GB, free: 1.648 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.485e-05/0.4101, allocations: 15.94 kB / 1.023 GB, free: 1.633 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005466/0.4156, allocations: 2.325 MB / 1.025 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007596/0.4164, allocations: 370.8 kB / 1.025 GB, free: 14.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002768/0.4167, allocations: 28.05 kB / 1.025 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001514/0.4182, allocations: 185.9 kB / 1.026 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/0.4184, allocations: 68.36 kB / 1.026 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-05/0.4185, allocations: 39.95 kB / 1.026 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001453/0.4199, allocations: 0.941 MB / 1.027 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4199, allocations: 0 / 1.027 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00225/0.4222, allocations: 0.7875 MB / 1.027 GB, free: 12.81 MB / 0.6823 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001124/0.4233, allocations: 0.507 MB / 1.028 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005426/0.4288, allocations: 2.097 MB / 1.03 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/0.4288, allocations: 0 / 1.03 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001848/0.4306, allocations: 0.7069 MB / 1.031 GB, free: 9.477 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004598/0.4352, allocations: 0.7584 MB / 1.031 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005101/0.4404, allocations: 3.373 MB / 1.035 GB, free: 5.254 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000826/0.4412, allocations: 1.234 MB / 1.036 GB, free: 3.992 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005295/0.4417, allocations: 139.4 kB / 1.036 GB, free: 3.855 MB / 0.6823 GB Notification: Performance of SimCode: time 5.81e-07/0.4418, allocations: 0 / 1.036 GB, free: 3.855 MB / 0.6823 GB Notification: Performance of Templates: time 0.4/0.8418, allocations: 26.7 MB / 1.062 GB, free: 143.6 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1)