Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.2/2.2, allocations: 251.1 MB / 266.7 MB, free: 11.62 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.001313/0.001313, allocations: 178.7 kB / 326.3 MB, free: 2.871 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.328/2.328, allocations: 205.4 MB / 0.5772 GB, free: 20.84 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.0009136/0.0009132, allocations: 85.5 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005087/0.0005089, allocations: 13.06 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2151, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR): time 0.06829/0.2834, allocations: 55.77 MB / 0.954 GB, free: 9.621 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02254/0.306, allocations: 12.22 MB / 0.9659 GB, free: 13.38 MB / 0.6199 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00284/0.3089, allocations: 59.56 kB / 0.9659 GB, free: 13.32 MB / 0.6199 GB Notification: Performance of NFTyping.typeComponents: time 0.003635/0.3126, allocations: 0.7065 MB / 0.9666 GB, free: 12.61 MB / 0.6199 GB Notification: Performance of NFTyping.typeBindings: time 0.007969/0.3206, allocations: 1.826 MB / 0.9684 GB, free: 10.78 MB / 0.6199 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.005572/0.3262, allocations: 1.14 MB / 0.9695 GB, free: 9.652 MB / 0.6199 GB Notification: Performance of NFFlatten.flatten: time 0.009283/0.3355, allocations: 4.771 MB / 0.9742 GB, free: 4.863 MB / 0.6199 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002794/0.3384, allocations: 1.036 MB / 0.9752 GB, free: 3.809 MB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004324/0.3427, allocations: 1.287 MB / 0.9765 GB, free: 2.516 MB / 0.6199 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003109/0.3459, allocations: 1.085 MB / 0.9775 GB, free: 1.426 MB / 0.6199 GB Notification: Performance of NFPackage.collectConstants: time 0.0004904/0.3464, allocations: 59.94 kB / 0.9776 GB, free: 1.367 MB / 0.6199 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004488/0.3509, allocations: 1.025 MB / 0.9786 GB, free: 348 kB / 0.6199 GB Notification: Performance of NFScalarize.scalarize: time 0.0008416/0.3518, allocations: 318.6 kB / 0.9789 GB, free: 28 kB / 0.6199 GB Notification: Performance of NFVerifyModel.verify: time 0.0009743/0.3528, allocations: 360.9 kB / 0.9792 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004774/0.3576, allocations: 1.956 MB / 0.9811 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.3577, allocations: 0 / 0.9811 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.464e-06/0.3577, allocations: 0 / 0.9811 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.972e-05/0.3578, allocations: 0 / 0.9811 GB, free: 13.71 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.005964/0.3637, allocations: 1.917 MB / 0.983 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/0.3638, allocations: 8.031 kB / 0.983 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007341/0.3712, allocations: 0.6424 MB / 0.9836 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004073/0.3753, allocations: 1.328 MB / 0.9849 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002388/0.3756, allocations: 145.4 kB / 0.9851 GB, free: 9.539 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002734/0.3759, allocations: 103.9 kB / 0.9852 GB, free: 9.438 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005132/0.381, allocations: 1.338 MB / 0.9865 GB, free: 8.062 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.89e-05/0.3811, allocations: 3.938 kB / 0.9865 GB, free: 8.059 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001715/0.3813, allocations: 40 kB / 0.9865 GB, free: 8.02 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.287e-05/0.3814, allocations: 24 kB / 0.9865 GB, free: 7.996 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006969/0.3883, allocations: 1.386 MB / 0.9879 GB, free: 6.609 MB / 0.6355 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.01268/0.4011, allocations: 5.375 MB / 0.9931 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004656/0.4058, allocations: 1.095 MB / 0.9942 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00313/0.409, allocations: 0.627 MB / 0.9948 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001395/0.4104, allocations: 1.24 MB / 0.996 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0034/0.4138, allocations: 0.6823 MB / 0.9967 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=69): time 5.321e-06/0.4139, allocations: 8 kB / 0.9967 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69): time 0.009535/0.4235, allocations: 1.793 MB / 0.9985 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.773e-05/0.4236, allocations: 63.97 kB / 0.9985 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002995/0.4266, allocations: 1.296 MB / 0.9998 GB, free: 9.715 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002466/0.4269, allocations: 45.7 kB / 0.9998 GB, free: 9.664 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009304/0.4278, allocations: 0.6699 MB / 1 GB, free: 8.984 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004332/0.4283, allocations: 236.6 kB / 1.001 GB, free: 8.75 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.24e-05/0.4284, allocations: 16 kB / 1.001 GB, free: 8.734 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.4286, allocations: 337.9 kB / 1.001 GB, free: 8.398 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003027/0.4316, allocations: 0.5523 MB / 1.002 GB, free: 7.844 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003287/0.4349, allocations: 0.7742 MB / 1.002 GB, free: 6.988 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00309/0.4381, allocations: 0.6097 MB / 1.003 GB, free: 6.375 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.195e-06/0.4381, allocations: 0 / 1.003 GB, free: 6.375 MB / 0.6511 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.007269/0.4454, allocations: 1.465 MB / 1.004 GB, free: 4.895 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002167/0.4457, allocations: 207.4 kB / 1.005 GB, free: 4.641 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.881e-05/0.4457, allocations: 7.984 kB / 1.005 GB, free: 4.633 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.183e-05/0.4457, allocations: 12 kB / 1.005 GB, free: 4.621 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002524/0.4483, allocations: 263.7 kB / 1.005 GB, free: 4.363 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.158e-05/0.4483, allocations: 15.94 kB / 1.005 GB, free: 4.348 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003024/0.4514, allocations: 239 kB / 1.005 GB, free: 4.113 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001974/0.4516, allocations: 43.97 kB / 1.005 GB, free: 4.07 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.4516, allocations: 4 kB / 1.005 GB, free: 4.066 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006607/0.4582, allocations: 1.31 MB / 1.006 GB, free: 2.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.4583, allocations: 4 kB / 1.006 GB, free: 2.746 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.4583, allocations: 4 kB / 1.006 GB, free: 2.742 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002459/0.4608, allocations: 271.7 kB / 1.007 GB, free: 2.477 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.286e-05/0.4609, allocations: 8 kB / 1.007 GB, free: 2.469 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003117/0.464, allocations: 231.1 kB / 1.007 GB, free: 2.242 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000282/0.4643, allocations: 39.97 kB / 1.007 GB, free: 2.203 MB / 0.6511 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.001228/0.4656, allocations: 422.4 kB / 1.007 GB, free: 1.781 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006006/0.4662, allocations: 150.1 kB / 1.007 GB, free: 1.633 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007585/0.4738, allocations: 1.528 MB / 1.009 GB, free: 88 kB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006512/0.4804, allocations: 1.292 MB / 1.01 GB, free: 14.76 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.4804, allocations: 0 / 1.01 GB, free: 14.76 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001229/0.4816, allocations: 358.8 kB / 1.011 GB, free: 14.39 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004829/0.4822, allocations: 16 kB / 1.011 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00273/0.4849, allocations: 175.7 kB / 1.011 GB, free: 14.2 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000256/0.4852, allocations: 56.58 kB / 1.011 GB, free: 14.14 MB / 0.6667 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008341/0.4936, allocations: 1.504 MB / 1.012 GB, free: 12.63 MB / 0.6667 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01051/0.5041, allocations: 2.303 MB / 1.015 GB, free: 10.31 MB / 0.6667 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003199/0.5074, allocations: 0.6337 MB / 1.015 GB, free: 9.676 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002175/0.5096, allocations: 0.9008 MB / 1.016 GB, free: 8.777 MB / 0.6667 GB Notification: Performance of Backend: time 1.312e-06/0.5097, allocations: 0 / 1.016 GB, free: 8.777 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.01016/0.5198, allocations: 2.082 MB / 1.018 GB, free: 6.676 MB / 0.6667 GB Notification: Performance of SimCode: time 0.01175/0.5317, allocations: 3.724 MB / 1.022 GB, free: 2.906 MB / 0.6667 GB Notification: Performance of Templates: time 0.09709/0.6288, allocations: 34.16 MB / 1.055 GB, free: 1.012 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & ./Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1)