Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001547/0.001547, allocations: 110.5 kB / 16.41 MB, free: 6.465 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.001666/0.001666, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.451/1.451, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.581/2.581, allocations: 437 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 67.89 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.078/1.079, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System5): time 1.567/2.646, allocations: 0.511 GB / 1.678 GB, free: 50.88 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.1007/2.747, allocations: 68.41 MB / 1.745 GB, free: 43.46 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02257/2.769, allocations: 426.7 kB / 1.746 GB, free: 43.46 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01993/2.789, allocations: 5.845 MB / 1.751 GB, free: 42.23 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.05103/2.84, allocations: 14.16 MB / 1.765 GB, free: 36.06 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.03029/2.871, allocations: 9.718 MB / 1.775 GB, free: 30.1 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.04851/2.919, allocations: 37.19 MB / 1.811 GB, free: 13.45 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01938/2.939, allocations: 11.4 MB / 1.822 GB, free: 2.086 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03042/2.969, allocations: 12.05 MB / 1.834 GB, free: 6.723 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01894/2.988, allocations: 8.944 MB / 1.843 GB, free: 14.43 MB / 1.326 GB Notification: Performance of NFPackage.collectConstants: time 0.006158/2.994, allocations: 1.137 MB / 1.844 GB, free: 13.3 MB / 1.326 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02172/3.016, allocations: 6.165 MB / 1.85 GB, free: 7.496 MB / 1.326 GB Notification: Performance of NFScalarize.scalarize: time 0.006771/3.023, allocations: 3.417 MB / 1.853 GB, free: 4.129 MB / 1.326 GB Notification: Performance of NFVerifyModel.verify: time 0.01836/3.041, allocations: 6.851 MB / 1.86 GB, free: 13.32 MB / 1.342 GB Notification: Performance of NFConvertDAE.convert: time 0.04182/3.083, allocations: 19.68 MB / 1.879 GB, free: 10.26 MB / 1.357 GB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/3.083, allocations: 7.938 kB / 1.879 GB, free: 10.25 MB / 1.357 GB Notification: Performance of FrontEnd: time 1.372e-06/3.083, allocations: 0 / 1.879 GB, free: 10.25 MB / 1.357 GB Notification: Performance of Transformations before backend: time 0.0007622/3.084, allocations: 4 kB / 1.879 GB, free: 10.25 MB / 1.357 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.03655/3.12, allocations: 13.85 MB / 1.892 GB, free: 12.38 MB / 1.373 GB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/3.12, allocations: 8.922 kB / 1.892 GB, free: 12.37 MB / 1.373 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01462/3.135, allocations: 2.209 MB / 1.895 GB, free: 10.15 MB / 1.373 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02997/3.165, allocations: 12.12 MB / 1.906 GB, free: 14.2 MB / 1.389 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005495/3.166, allocations: 0.524 MB / 1.907 GB, free: 13.68 MB / 1.389 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002593/3.168, allocations: 0.719 MB / 1.908 GB, free: 12.96 MB / 1.389 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02008/3.188, allocations: 8.011 MB / 1.915 GB, free: 4.684 MB / 1.389 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001784/3.189, allocations: 19.83 kB / 1.915 GB, free: 4.664 MB / 1.389 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009022/3.19, allocations: 288.4 kB / 1.916 GB, free: 4.387 MB / 1.389 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002463/3.19, allocations: 280.8 kB / 1.916 GB, free: 4.109 MB / 1.389 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01563/3.205, allocations: 6.214 MB / 1.922 GB, free: 13.88 MB / 1.404 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.07873/3.284, allocations: 40.18 MB / 1.961 GB, free: 3.238 MB / 1.436 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008371/3.293, allocations: 4.31 MB / 1.966 GB, free: 14.82 MB / 1.451 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004627/3.297, allocations: 2.229 MB / 1.968 GB, free: 12.59 MB / 1.451 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.02765/3.325, allocations: 9.913 MB / 1.977 GB, free: 2.273 MB / 1.451 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005499/3.33, allocations: 2.213 MB / 1.98 GB, free: 20 kB / 1.451 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004524/3.335, allocations: 357.2 kB / 1.98 GB, free: 15.67 MB / 1.467 GB Notification: Performance of pre-optimization done (n=353): time 1.473e-05/3.335, allocations: 0 / 1.98 GB, free: 15.67 MB / 1.467 GB Notification: Performance of matching and sorting (n=361): time 0.04115/3.376, allocations: 13.62 MB / 1.993 GB, free: 1.805 MB / 1.467 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/3.376, allocations: 193.1 kB / 1.993 GB, free: 1.578 MB / 1.467 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02354/3.4, allocations: 9.178 MB / 2.002 GB, free: 8.449 MB / 1.482 GB Notification: Performance of collectPreVariables (initialization): time 0.001369/3.401, allocations: 129.7 kB / 2.002 GB, free: 8.316 MB / 1.482 GB Notification: Performance of collectInitialEqns (initialization): time 0.007337/3.409, allocations: 5.182 MB / 2.008 GB, free: 3.145 MB / 1.482 GB Notification: Performance of collectInitialBindings (initialization): time 0.002594/3.411, allocations: 1.339 MB / 2.009 GB, free: 1.82 MB / 1.482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005085/3.416, allocations: 1.268 MB / 2.01 GB, free: 0.543 MB / 1.482 GB Notification: Performance of setup shared object (initialization): time 0.0001058/3.417, allocations: 301.1 kB / 2.01 GB, free: 252 kB / 1.482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006136/3.423, allocations: 2.373 MB / 2.013 GB, free: 13.86 MB / 1.498 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00781/3.43, allocations: 4.154 MB / 2.017 GB, free: 8.965 MB / 1.498 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0121/3.443, allocations: 6.056 MB / 2.023 GB, free: 2.32 MB / 1.498 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.034e-05/3.443, allocations: 15.94 kB / 2.023 GB, free: 2.305 MB / 1.498 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.02649/3.469, allocations: 8.631 MB / 2.031 GB, free: 9.652 MB / 1.514 GB Notification: Performance of prepare postOptimizeDAE: time 6.848e-05/3.469, allocations: 24 kB / 2.031 GB, free: 9.629 MB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.607e-05/3.469, allocations: 40 kB / 2.031 GB, free: 9.59 MB / 1.514 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009721/3.479, allocations: 1.693 MB / 2.033 GB, free: 7.895 MB / 1.514 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006776/3.486, allocations: 1.232 MB / 2.034 GB, free: 6.66 MB / 1.514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009361/3.495, allocations: 6.59 MB / 2.04 GB, free: 15.72 MB / 1.529 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01081/3.506, allocations: 404.2 kB / 2.041 GB, free: 15.33 MB / 1.529 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002003/3.508, allocations: 267.9 kB / 2.041 GB, free: 15.07 MB / 1.529 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01257/3.521, allocations: 4.299 MB / 2.045 GB, free: 10.76 MB / 1.529 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007648/3.529, allocations: 4.048 MB / 2.049 GB, free: 5.965 MB / 1.529 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01194/3.541, allocations: 5.846 MB / 2.055 GB, free: 15.53 MB / 1.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.364e-05/3.541, allocations: 12 kB / 2.055 GB, free: 15.52 MB / 1.545 GB Notification: Performance of matching and sorting (n=788) (initialization_lambda0): time 0.02741/3.568, allocations: 8.257 MB / 2.063 GB, free: 7.227 MB / 1.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.724e-05/3.568, allocations: 27.94 kB / 2.063 GB, free: 7.199 MB / 1.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.276e-05/3.568, allocations: 48.75 kB / 2.063 GB, free: 7.152 MB / 1.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00845/3.577, allocations: 1.492 MB / 2.065 GB, free: 5.648 MB / 1.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005639/3.582, allocations: 1.194 MB / 2.066 GB, free: 4.453 MB / 1.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0126/3.595, allocations: 8.807 MB / 2.074 GB, free: 11.2 MB / 1.561 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01018/3.605, allocations: 443.1 kB / 2.075 GB, free: 10.77 MB / 1.561 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001502/3.607, allocations: 248 kB / 2.075 GB, free: 10.52 MB / 1.561 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.002739/3.61, allocations: 0.5322 MB / 2.076 GB, free: 9.988 MB / 1.561 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004482/3.614, allocations: 0.9819 MB / 2.076 GB, free: 9 MB / 1.561 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0161/3.63, allocations: 5.361 MB / 2.082 GB, free: 3.586 MB / 1.561 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009652/3.64, allocations: 3.976 MB / 2.086 GB, free: 15.56 MB / 1.576 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.485e-05/3.64, allocations: 0 / 2.086 GB, free: 15.56 MB / 1.576 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00705/3.647, allocations: 1.588 MB / 2.087 GB, free: 13.95 MB / 1.576 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00404/3.651, allocations: 87.98 kB / 2.087 GB, free: 13.86 MB / 1.576 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007711/3.659, allocations: 263.6 kB / 2.087 GB, free: 13.61 MB / 1.576 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001099/3.66, allocations: 286.7 kB / 2.088 GB, free: 13.32 MB / 1.576 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01486/3.675, allocations: 5.052 MB / 2.093 GB, free: 8.297 MB / 1.576 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01755/3.692, allocations: 7.047 MB / 2.1 GB, free: 1.203 MB / 1.576 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004071/3.697, allocations: 1.879 MB / 2.101 GB, free: 15.32 MB / 1.592 GB Notification: Performance of sorting global known variables: time 0.01599/3.713, allocations: 6.068 MB / 2.107 GB, free: 9.293 MB / 1.592 GB Notification: Performance of Backend: time 1.332e-06/3.713, allocations: 0 / 2.107 GB, free: 9.293 MB / 1.592 GB Notification: Performance of simCode: created initialization part: time 0.03713/3.75, allocations: 10.78 MB / 2.118 GB, free: 14.71 MB / 1.607 GB Notification: Performance of SimCode: time 0.06159/3.811, allocations: 22.96 MB / 2.14 GB, free: 7.828 MB / 1.623 GB Notification: Performance of Templates: time 1.97/5.781, allocations: 205.6 MB / 2.341 GB, free: 0.5759 GB / 1.654 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.Boiler.System5.makefile (rm -f Buildings_10_Buildings.Examples.Tutorial.Boiler.System5.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.Boiler.System5.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.Boiler.System5.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.Boiler.System5.sim & ./Buildings_10_Buildings.Examples.Tutorial.Boiler.System5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.Boiler.System5.pipe 2>&1)