Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.Boiler.System5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T|boi.vol.T|temSup.T|temRet.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.Boiler.System5") translateModel(Buildings.Examples.Tutorial.Boiler.System5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T|boi.vol.T|temSup.T|temRet.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.Boiler.System5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 114.5 kB / 16.42 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 191.5 kB / 17.35 MB, free: 5.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.582/2.582, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001486, allocations: 55.91 kB / 1.055 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9423/0.9438, allocations: 157.4 MB / 1.208 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System5): time 1.392/2.336, allocations: 0.511 GB / 1.719 GB, free: 48.89 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.09001/2.426, allocations: 68.4 MB / 1.786 GB, free: 29.91 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02372/2.449, allocations: 423.3 kB / 1.787 GB, free: 29.91 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01901/2.468, allocations: 5.708 MB / 1.792 GB, free: 26.62 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.04466/2.513, allocations: 13.54 MB / 1.805 GB, free: 16.01 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.02748/2.541, allocations: 9.697 MB / 1.815 GB, free: 7.398 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.05468/2.595, allocations: 37.15 MB / 1.851 GB, free: 2.156 MB / 1.311 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02187/2.617, allocations: 11.42 MB / 1.862 GB, free: 6.598 MB / 1.326 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03156/2.649, allocations: 12.02 MB / 1.874 GB, free: 10.59 MB / 1.342 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01841/2.667, allocations: 8.952 MB / 1.883 GB, free: 1.602 MB / 1.342 GB Notification: Performance of NFPackage.collectConstants: time 0.005742/2.673, allocations: 1.137 MB / 1.884 GB, free: 476 kB / 1.342 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02138/2.695, allocations: 6.158 MB / 1.89 GB, free: 10.3 MB / 1.357 GB Notification: Performance of NFScalarize.scalarize: time 0.007031/2.702, allocations: 3.415 MB / 1.893 GB, free: 6.871 MB / 1.357 GB Notification: Performance of NFVerifyModel.verify: time 0.01552/2.717, allocations: 6.846 MB / 1.9 GB, free: 15.99 MB / 1.373 GB Notification: Performance of NFConvertDAE.convert: time 0.03814/2.755, allocations: 19.6 MB / 1.919 GB, free: 12.33 MB / 1.389 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/2.755, allocations: 0 / 1.919 GB, free: 12.33 MB / 1.389 GB Notification: Performance of FrontEnd: time 4.218e-06/2.755, allocations: 0 / 1.919 GB, free: 12.33 MB / 1.389 GB Notification: Performance of Transformations before backend: time 0.0007551/2.756, allocations: 7.938 kB / 1.919 GB, free: 12.32 MB / 1.389 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.03839/2.795, allocations: 13.44 MB / 1.932 GB, free: 14.73 MB / 1.404 GB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/2.795, allocations: 8.031 kB / 1.932 GB, free: 14.73 MB / 1.404 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01303/2.808, allocations: 2.151 MB / 1.934 GB, free: 12.56 MB / 1.404 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02881/2.837, allocations: 12.02 MB / 1.946 GB, free: 436 kB / 1.404 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000638/2.837, allocations: 0.5287 MB / 1.947 GB, free: 15.89 MB / 1.42 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002559/2.84, allocations: 0.7146 MB / 1.947 GB, free: 15.18 MB / 1.42 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02125/2.861, allocations: 8.024 MB / 1.955 GB, free: 6.871 MB / 1.42 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003568/2.861, allocations: 19.78 kB / 1.955 GB, free: 6.852 MB / 1.42 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001897/2.863, allocations: 288 kB / 1.955 GB, free: 6.57 MB / 1.42 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002896/2.864, allocations: 276.8 kB / 1.956 GB, free: 6.297 MB / 1.42 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01787/2.882, allocations: 6.221 MB / 1.962 GB, free: 60 kB / 1.42 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.07193/2.954, allocations: 40.07 MB / 2.001 GB, free: 5.207 MB / 1.467 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007529/2.961, allocations: 4.322 MB / 2.005 GB, free: 0.7773 MB / 1.467 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004164/2.965, allocations: 2.226 MB / 2.007 GB, free: 14.54 MB / 1.482 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.02533/2.991, allocations: 9.911 MB / 2.017 GB, free: 4.125 MB / 1.482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004596/2.995, allocations: 2.216 MB / 2.019 GB, free: 1.871 MB / 1.482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003901/2.999, allocations: 348.1 kB / 2.019 GB, free: 1.527 MB / 1.482 GB Notification: Performance of pre-optimization done (n=353): time 1.576e-05/2.999, allocations: 0 / 2.019 GB, free: 1.527 MB / 1.482 GB Notification: Performance of matching and sorting (n=361): time 0.04541/3.045, allocations: 13.45 MB / 2.033 GB, free: 3.801 MB / 1.498 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/3.045, allocations: 189.1 kB / 2.033 GB, free: 3.578 MB / 1.498 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0262/3.071, allocations: 9.177 MB / 2.042 GB, free: 10.45 MB / 1.514 GB Notification: Performance of collectPreVariables (initialization): time 0.001381/3.073, allocations: 117.7 kB / 2.042 GB, free: 10.32 MB / 1.514 GB Notification: Performance of collectInitialEqns (initialization): time 0.007692/3.08, allocations: 5.103 MB / 2.047 GB, free: 5.191 MB / 1.514 GB Notification: Performance of collectInitialBindings (initialization): time 0.002397/3.083, allocations: 1.267 MB / 2.048 GB, free: 3.906 MB / 1.514 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004592/3.087, allocations: 1.262 MB / 2.049 GB, free: 2.629 MB / 1.514 GB Notification: Performance of setup shared object (initialization): time 0.000115/3.087, allocations: 301.1 kB / 2.05 GB, free: 2.332 MB / 1.514 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006647/3.094, allocations: 2.377 MB / 2.052 GB, free: 15.94 MB / 1.529 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00806/3.102, allocations: 4.154 MB / 2.056 GB, free: 11.04 MB / 1.529 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01248/3.115, allocations: 6.056 MB / 2.062 GB, free: 4.402 MB / 1.529 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-05/3.115, allocations: 12 kB / 2.062 GB, free: 4.391 MB / 1.529 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.02875/3.144, allocations: 8.591 MB / 2.07 GB, free: 11.75 MB / 1.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.821e-05/3.144, allocations: 24 kB / 2.07 GB, free: 11.73 MB / 1.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-05/3.144, allocations: 40 kB / 2.07 GB, free: 11.69 MB / 1.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009211/3.153, allocations: 1.694 MB / 2.072 GB, free: 9.984 MB / 1.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006044/3.159, allocations: 1.229 MB / 2.073 GB, free: 8.754 MB / 1.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009364/3.168, allocations: 6.592 MB / 2.08 GB, free: 1.809 MB / 1.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009355/3.178, allocations: 407.8 kB / 2.08 GB, free: 1.41 MB / 1.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00141/3.179, allocations: 263.9 kB / 2.08 GB, free: 1.152 MB / 1.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01124/3.191, allocations: 4.299 MB / 2.084 GB, free: 12.84 MB / 1.561 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007362/3.198, allocations: 4.048 MB / 2.088 GB, free: 8.047 MB / 1.561 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01105/3.209, allocations: 5.838 MB / 2.094 GB, free: 1.621 MB / 1.561 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.488e-05/3.209, allocations: 12 kB / 2.094 GB, free: 1.609 MB / 1.561 GB Notification: Performance of matching and sorting (n=788) (initialization_lambda0): time 0.02432/3.233, allocations: 8.209 MB / 2.102 GB, free: 9.363 MB / 1.576 GB Notification: Performance of prepare postOptimizeDAE: time 6.163e-05/3.234, allocations: 20 kB / 2.102 GB, free: 9.344 MB / 1.576 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.341e-05/3.234, allocations: 44 kB / 2.102 GB, free: 9.301 MB / 1.576 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008212/3.242, allocations: 1.502 MB / 2.104 GB, free: 7.785 MB / 1.576 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005421/3.247, allocations: 1.197 MB / 2.105 GB, free: 6.586 MB / 1.576 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01233/3.26, allocations: 8.787 MB / 2.113 GB, free: 13.34 MB / 1.592 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008745/3.268, allocations: 436.4 kB / 2.114 GB, free: 12.92 MB / 1.592 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001254/3.27, allocations: 255.9 kB / 2.114 GB, free: 12.67 MB / 1.592 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 187 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,conPIDRad.con1.y,conPIDBoi.con1.y,hysPum.y,$PRE.hysPum.y,and2.y,and1.y,hysTBoi.y,$PRE.hysTBoi.y,hysTOut.y,$PRE.hysTOut.y,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (669): * Single equations (assignments): 660 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,8), (13,22)} Notification: Performance of prepare postOptimizeDAE: time 0.002507/3.272, allocations: 0.5328 MB / 2.115 GB, free: 12.12 MB / 1.592 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00394/3.276, allocations: 0.9296 MB / 2.116 GB, free: 11.18 MB / 1.592 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0153/3.292, allocations: 5.374 MB / 2.121 GB, free: 5.746 MB / 1.592 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008912/3.301, allocations: 3.966 MB / 2.125 GB, free: 1.727 MB / 1.592 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.625e-05/3.301, allocations: 4 kB / 2.125 GB, free: 1.723 MB / 1.592 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005383/3.306, allocations: 1.535 MB / 2.126 GB, free: 160 kB / 1.592 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003176/3.309, allocations: 87.98 kB / 2.126 GB, free: 72 kB / 1.592 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006823/3.316, allocations: 263.6 kB / 2.126 GB, free: 15.81 MB / 1.607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009954/3.317, allocations: 286.7 kB / 2.127 GB, free: 15.53 MB / 1.607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01362/3.331, allocations: 5.047 MB / 2.132 GB, free: 10.43 MB / 1.607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01443/3.345, allocations: 6.998 MB / 2.139 GB, free: 3.375 MB / 1.607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003468/3.349, allocations: 1.875 MB / 2.14 GB, free: 1.492 MB / 1.607 GB Notification: Performance of sorting global known variables: time 0.01429/3.363, allocations: 6.068 MB / 2.146 GB, free: 11.47 MB / 1.623 GB Notification: Performance of Backend: time 8.12e-07/3.363, allocations: 0 / 2.146 GB, free: 11.47 MB / 1.623 GB Notification: Performance of simCode: created initialization part: time 0.03582/3.399, allocations: 10.75 MB / 2.157 GB, free: 0.8398 MB / 1.623 GB Notification: Performance of SimCode: time 0.05603/3.455, allocations: 22.6 MB / 2.179 GB, free: 10.36 MB / 1.654 GB Notification: Performance of Templates: time 1.748/5.203, allocations: 209.9 MB / 2.384 GB, free: 0.5117 GB / 1.654 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System5.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System5.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.Boiler.System5.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.Boiler.System5.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System5.sim & ./Buildings_latest_Buildings.Examples.Tutorial.Boiler.System5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.Boiler.System5.pipe 2>&1)