Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.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.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.242/2.242, allocations: 251.1 MB / 266.7 MB, free: 11.63 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.001332/0.001332, allocations: 183.3 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.57/2.57, allocations: 205.4 MB / 0.5772 GB, free: 20.82 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.001001/0.001001, allocations: 91.48 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004609/0.0004611, allocations: 11.91 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2089, allocations: 106.3 MB / 0.8995 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.06684/0.2758, allocations: 55.78 MB / 0.954 GB, free: 9.621 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02224/0.2981, allocations: 12.18 MB / 0.9659 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002713/0.3008, allocations: 59.56 kB / 0.9659 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003447/0.3043, allocations: 0.7065 MB / 0.9666 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.007865/0.3122, allocations: 1.83 MB / 0.9684 GB, free: 10.82 MB / 0.6198 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.005522/0.3178, allocations: 1.12 MB / 0.9695 GB, free: 9.707 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.008903/0.3267, allocations: 4.762 MB / 0.9741 GB, free: 4.926 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002567/0.3293, allocations: 1.032 MB / 0.9751 GB, free: 3.875 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004209/0.3336, allocations: 1.291 MB / 0.9764 GB, free: 2.578 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00278/0.3364, allocations: 1.093 MB / 0.9775 GB, free: 1.48 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0004276/0.3368, allocations: 56 kB / 0.9775 GB, free: 1.426 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004354/0.3412, allocations: 0.9901 MB / 0.9785 GB, free: 444 kB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0007552/0.342, allocations: 318.6 kB / 0.9788 GB, free: 124 kB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0008614/0.3429, allocations: 352.9 kB / 0.9791 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004308/0.3472, allocations: 1.917 MB / 0.981 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3473, allocations: 0 / 0.981 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.535e-06/0.3473, allocations: 0 / 0.981 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.772e-05/0.3473, allocations: 0 / 0.981 GB, free: 13.85 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.005725/0.3531, allocations: 1.902 MB / 0.9829 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.3531, allocations: 8.031 kB / 0.9829 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006358/0.3595, allocations: 0.6386 MB / 0.9835 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004166/0.3637, allocations: 1.315 MB / 0.9848 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002476/0.364, allocations: 137.4 kB / 0.9849 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003238/0.3643, allocations: 100 kB / 0.985 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005146/0.3695, allocations: 1.326 MB / 0.9863 GB, free: 8.258 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.345e-05/0.3696, allocations: 3.984 kB / 0.9863 GB, free: 8.254 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001587/0.3698, allocations: 40 kB / 0.9863 GB, free: 8.215 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-05/0.3698, allocations: 24 kB / 0.9864 GB, free: 8.191 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006852/0.3767, allocations: 1.37 MB / 0.9877 GB, free: 6.82 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.01186/0.3886, allocations: 5.362 MB / 0.9929 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01012/0.3987, allocations: 1.48 MB / 0.9944 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003232/0.402, allocations: 0.6212 MB / 0.995 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00138/0.4034, allocations: 1.243 MB / 0.9962 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003382/0.4069, allocations: 0.6822 MB / 0.9969 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=69): time 5.219e-06/0.4069, allocations: 0 / 0.9969 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69): time 0.009571/0.4165, allocations: 1.766 MB / 0.9986 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.4166, allocations: 59.97 kB / 0.9986 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002768/0.4194, allocations: 1.247 MB / 0.9999 GB, free: 9.641 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002377/0.4197, allocations: 49.7 kB / 0.9999 GB, free: 9.586 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008736/0.4205, allocations: 0.6424 MB / 1.001 GB, free: 8.938 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004471/0.421, allocations: 240.5 kB / 1.001 GB, free: 8.699 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.526e-05/0.4211, allocations: 16 kB / 1.001 GB, free: 8.684 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.4213, allocations: 333.9 kB / 1.001 GB, free: 8.352 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003062/0.4244, allocations: 0.5485 MB / 1.002 GB, free: 7.801 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003305/0.4277, allocations: 0.7675 MB / 1.002 GB, free: 6.953 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003226/0.431, allocations: 0.5941 MB / 1.003 GB, free: 6.355 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.139e-05/0.4311, allocations: 0 / 1.003 GB, free: 6.355 MB / 0.6511 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.007799/0.4389, allocations: 1.458 MB / 1.004 GB, free: 4.883 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002546/0.4392, allocations: 203.2 kB / 1.005 GB, free: 4.637 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.4392, allocations: 8 kB / 1.005 GB, free: 4.629 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.028e-05/0.4393, allocations: 8 kB / 1.005 GB, free: 4.621 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002557/0.4418, allocations: 271.6 kB / 1.005 GB, free: 4.355 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.842e-05/0.4419, allocations: 12 kB / 1.005 GB, free: 4.344 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00314/0.445, allocations: 231.1 kB / 1.005 GB, free: 4.117 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002284/0.4453, allocations: 43.97 kB / 1.005 GB, free: 4.074 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.4453, allocations: 1.406 kB / 1.005 GB, free: 4.074 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006601/0.452, allocations: 1.302 MB / 1.006 GB, free: 2.766 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.452, allocations: 8 kB / 1.006 GB, free: 2.758 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.4521, allocations: 8 kB / 1.006 GB, free: 2.75 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00244/0.4545, allocations: 267.8 kB / 1.007 GB, free: 2.488 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.295e-05/0.4546, allocations: 11.92 kB / 1.007 GB, free: 2.477 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002984/0.4576, allocations: 235.1 kB / 1.007 GB, free: 2.246 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001952/0.4578, allocations: 43.92 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.001093/0.4589, allocations: 408.9 kB / 1.007 GB, free: 1.793 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005338/0.4595, allocations: 146.2 kB / 1.007 GB, free: 1.648 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007198/0.4667, allocations: 1.512 MB / 1.009 GB, free: 120 kB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006386/0.4731, allocations: 1.277 MB / 1.01 GB, free: 14.81 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/0.4732, allocations: 0 / 1.01 GB, free: 14.81 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001185/0.4744, allocations: 358.9 kB / 1.011 GB, free: 14.44 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003749/0.4748, allocations: 12 kB / 1.011 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00277/0.4776, allocations: 175.7 kB / 1.011 GB, free: 14.25 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002432/0.4778, allocations: 56.56 kB / 1.011 GB, free: 14.2 MB / 0.6667 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00931/0.4872, allocations: 1.492 MB / 1.012 GB, free: 12.7 MB / 0.6667 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0103/0.4975, allocations: 2.272 MB / 1.014 GB, free: 10.4 MB / 0.6667 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003048/0.5006, allocations: 0.6298 MB / 1.015 GB, free: 9.773 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002058/0.5027, allocations: 0.8566 MB / 1.016 GB, free: 8.918 MB / 0.6667 GB Notification: Performance of Backend: time 5.81e-07/0.5027, allocations: 3.938 kB / 1.016 GB, free: 8.914 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.009413/0.5122, allocations: 2.058 MB / 1.018 GB, free: 6.836 MB / 0.6667 GB Notification: Performance of SimCode: time 0.01092/0.5231, allocations: 3.675 MB / 1.022 GB, free: 3.113 MB / 0.6667 GB Notification: Performance of Templates: time 0.09308/0.6163, allocations: 33.84 MB / 1.055 GB, free: 1.523 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)