Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.312/1.312, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.0009268/0.0009268, allocations: 175.6 kB / 326.5 MB, free: 2.707 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.619/1.619, allocations: 205 MB / 0.5766 GB, free: 21.01 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.000746/0.0007459, allocations: 91.97 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003094/0.0003094, allocations: 8.75 kB / 0.7938 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1937, allocations: 105.4 MB / 0.8968 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl): time 0.7523/0.946, allocations: 274.3 MB / 1.165 GB, free: 4 kB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.03967/0.9858, allocations: 28.81 MB / 1.193 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007043/0.9929, allocations: 129.2 kB / 1.193 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.007277/1, allocations: 2.021 MB / 1.195 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01557/1.016, allocations: 4.879 MB / 1.2 GB, free: 15.42 MB / 0.7292 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.01387/1.03, allocations: 4.75 MB / 1.204 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.01614/1.046, allocations: 11.83 MB / 1.216 GB, free: 1.414 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005466/1.051, allocations: 2.655 MB / 1.218 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008348/1.06, allocations: 3.403 MB / 1.222 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006163/1.066, allocations: 2.715 MB / 1.224 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.001192/1.067, allocations: 144 kB / 1.224 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01039/1.078, allocations: 4.116 MB / 1.228 GB, free: 4.289 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.001827/1.079, allocations: 0.8714 MB / 1.229 GB, free: 3.414 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.003123/1.083, allocations: 1.86 MB / 1.231 GB, free: 1.543 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.01262/1.095, allocations: 6.802 MB / 1.238 GB, free: 10.72 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/1.095, allocations: 0 / 1.238 GB, free: 10.72 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.953e-06/1.095, allocations: 0 / 1.238 GB, free: 10.72 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001725/1.095, allocations: 0 / 1.238 GB, free: 10.72 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 570 * Number of variables: 570 Notification: Performance of Generate backend data structure: time 0.008315/1.104, allocations: 3.962 MB / 1.242 GB, free: 6.668 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/1.104, allocations: 8.031 kB / 1.242 GB, free: 6.66 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01038/1.114, allocations: 1.494 MB / 1.243 GB, free: 5.16 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008143/1.122, allocations: 3.141 MB / 1.246 GB, free: 1.953 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009956/1.123, allocations: 392.2 kB / 1.247 GB, free: 1.555 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007965/1.124, allocations: 243.9 kB / 1.247 GB, free: 1.316 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008561/1.133, allocations: 3.119 MB / 1.25 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.778e-05/1.133, allocations: 11.94 kB / 1.25 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000337/1.133, allocations: 91.98 kB / 1.25 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.886e-05/1.133, allocations: 88.27 kB / 1.25 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008243/1.142, allocations: 3.065 MB / 1.253 GB, free: 10.78 MB / 0.7761 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.02442/1.166, allocations: 13.41 MB / 1.266 GB, free: 12.61 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006506/1.173, allocations: 2.854 MB / 1.269 GB, free: 9.637 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003066/1.176, allocations: 1.194 MB / 1.27 GB, free: 8.434 MB / 0.7917 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 evalFunc (simulation): time 0.01055/1.186, allocations: 5.205 MB / 1.275 GB, free: 2.824 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003307/1.19, allocations: 1.278 MB / 1.276 GB, free: 1.527 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002308/1.192, allocations: 0.5876 MB / 1.277 GB, free: 0.9375 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=150): time 1.003e-05/1.192, allocations: 0 / 1.277 GB, free: 0.9375 MB / 0.7917 GB Notification: Performance of matching and sorting (n=150): time 0.009903/1.202, allocations: 3.047 MB / 1.28 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000138/1.202, allocations: 201.2 kB / 1.28 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006099/1.208, allocations: 3.273 MB / 1.283 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0002905/1.208, allocations: 73.64 kB / 1.283 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001614/1.21, allocations: 1.58 MB / 1.285 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006568/1.211, allocations: 0.5083 MB / 1.285 GB, free: 8.199 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004021/1.211, allocations: 161.6 kB / 1.286 GB, free: 8.035 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.000112/1.211, allocations: 309 kB / 1.286 GB, free: 7.73 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002932/1.214, allocations: 1.042 MB / 1.287 GB, free: 6.688 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003458/1.218, allocations: 1.666 MB / 1.289 GB, free: 4.77 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006444/1.224, allocations: 2.461 MB / 1.291 GB, free: 2.125 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.589e-05/1.224, allocations: 4 kB / 1.291 GB, free: 2.121 MB / 0.8073 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.007857/1.232, allocations: 2.992 MB / 1.294 GB, free: 15.11 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003526/1.232, allocations: 499.7 kB / 1.294 GB, free: 14.44 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.099e-05/1.233, allocations: 15.94 kB / 1.294 GB, free: 14.43 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.313e-05/1.233, allocations: 27.94 kB / 1.294 GB, free: 14.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00243/1.235, allocations: 0.5539 MB / 1.295 GB, free: 13.84 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.84e-05/1.235, allocations: 27.92 kB / 1.295 GB, free: 13.82 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003446/1.239, allocations: 384.8 kB / 1.295 GB, free: 13.44 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002364/1.239, allocations: 91.95 kB / 1.295 GB, free: 13.35 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 8.887e-06/1.239, allocations: 4 kB / 1.295 GB, free: 13.34 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006276/1.245, allocations: 2.546 MB / 1.298 GB, free: 10.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.654e-05/1.245, allocations: 12 kB / 1.298 GB, free: 10.79 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.821e-05/1.245, allocations: 24 kB / 1.298 GB, free: 10.76 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002252/1.247, allocations: 0.5307 MB / 1.298 GB, free: 10.23 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.818e-05/1.247, allocations: 27.94 kB / 1.299 GB, free: 10.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00315/1.251, allocations: 332.2 kB / 1.299 GB, free: 9.879 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002154/1.251, allocations: 99.89 kB / 1.299 GB, free: 9.781 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 17 (triAndRes.firstTrigger,$PRE.triAndRes.firstTrigger,triAndRes.sampleTrigger,$whenCondition3,triAndRes.uniDel1.firstTrigger,$PRE.triAndRes.uniDel1.firstTrigger,triAndRes.sam.firstTrigger,$PRE.triAndRes.sam.firstTrigger,triAndRes.sam.sampleTrigger,$whenCondition1,triAndRes.uniDel1.sampleTrigger,$whenCondition2,triAndRes.uniDel1.y,$PRE.triAndRes.uniDel1.y,triAndRes.sam.y,triAndRes.incY.y,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (240): * Single equations (assignments): 237 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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.001657/1.253, allocations: 0.7878 MB / 1.3 GB, free: 8.984 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009665/1.253, allocations: 339.7 kB / 1.3 GB, free: 8.648 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006574/1.26, allocations: 2.627 MB / 1.303 GB, free: 6.027 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004888/1.265, allocations: 2.264 MB / 1.305 GB, free: 3.676 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/1.265, allocations: 4 kB / 1.305 GB, free: 3.672 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001703/1.267, allocations: 0.6254 MB / 1.305 GB, free: 3.023 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009321/1.268, allocations: 32 kB / 1.305 GB, free: 2.992 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002792/1.27, allocations: 289.8 kB / 1.306 GB, free: 2.711 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/1.271, allocations: 97.34 kB / 1.306 GB, free: 2.617 MB / 0.823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006954/1.278, allocations: 2.523 MB / 1.308 GB, free: 96 kB / 0.823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.009058/1.287, allocations: 3.886 MB / 1.312 GB, free: 12.18 MB / 0.8386 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002535/1.289, allocations: 1.053 MB / 1.313 GB, free: 11.13 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.004605/1.294, allocations: 2.229 MB / 1.315 GB, free: 8.918 MB / 0.8386 GB Notification: Performance of Backend: time 5.91e-07/1.294, allocations: 4 kB / 1.315 GB, free: 8.914 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01366/1.308, allocations: 4.413 MB / 1.32 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of SimCode: time 0.01569/1.323, allocations: 8.341 MB / 1.328 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of Templates: time 0.4712/1.795, allocations: 79.16 MB / 1.405 GB, free: 362.4 MB / 0.9167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.sim & ./Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe 2>&1)