Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.System2.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.CDL.System2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTOut.T|boi.T|temSup.T|temRet.T|temRoo.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.System2") translateModel(Buildings.Examples.Tutorial.CDL.System2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTOut.T|boi.T|temSup.T|temRet.T|temRoo.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.System2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 114.4 kB / 16.42 MB, free: 6.016 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.001106/0.001106, allocations: 183.7 kB / 17.35 MB, free: 5.633 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.402/1.402, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.295/2.295, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 63.91 kB / 0.9516 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.054/1.056, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumRad.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumBoi.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.System2): time 1.726/2.781, allocations: 0.5117 GB / 1.6 GB, free: 85.97 MB / 1.311 GB Notification: Performance of NFInst.instExpressions: time 0.1311/2.912, allocations: 70.52 MB / 1.669 GB, free: 85.29 MB / 1.311 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02393/2.936, allocations: 429.3 kB / 1.67 GB, free: 85.29 MB / 1.311 GB Notification: Performance of NFTyping.typeComponents: time 0.02006/2.957, allocations: 5.1 MB / 1.675 GB, free: 85.21 MB / 1.311 GB Notification: Performance of NFTyping.typeBindings: time 0.05175/3.008, allocations: 14.28 MB / 1.689 GB, free: 84.65 MB / 1.311 GB Notification: Performance of NFTyping.typeClassSections: time 0.03144/3.04, allocations: 10.14 MB / 1.698 GB, free: 84.34 MB / 1.311 GB Notification: Performance of NFFlatten.flatten: time 0.05253/3.092, allocations: 32.15 MB / 1.73 GB, free: 84.25 MB / 1.311 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02312/3.115, allocations: 12 MB / 1.742 GB, free: 77.6 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04013/3.156, allocations: 12.3 MB / 1.754 GB, free: 72.34 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02124/3.177, allocations: 9.071 MB / 1.762 GB, free: 67.84 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.006867/3.184, allocations: 1.179 MB / 1.764 GB, free: 67.36 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02565/3.21, allocations: 6.381 MB / 1.77 GB, free: 61.64 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.007923/3.218, allocations: 3.304 MB / 1.773 GB, free: 58.48 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.02125/3.239, allocations: 6.783 MB / 1.78 GB, free: 51.82 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.04262/3.281, allocations: 19.48 MB / 1.799 GB, free: 33.1 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/3.282, allocations: 0 / 1.799 GB, free: 33.1 MB / 1.311 GB Notification: Performance of FrontEnd: time 2.194e-06/3.282, allocations: 0 / 1.799 GB, free: 33.1 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.0008135/3.282, allocations: 0 / 1.799 GB, free: 33.1 MB / 1.311 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1824 * Number of variables: 1824 Notification: Performance of Generate backend data structure: time 0.03958/3.322, allocations: 13.24 MB / 1.812 GB, free: 19.96 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/3.322, allocations: 10.84 kB / 1.812 GB, free: 19.95 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0139/3.336, allocations: 2.183 MB / 1.814 GB, free: 17.75 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.026/3.362, allocations: 10.37 MB / 1.824 GB, free: 7.758 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005879/3.363, allocations: 0.5549 MB / 1.824 GB, free: 7.203 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003057/3.366, allocations: 0.7431 MB / 1.825 GB, free: 6.465 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02666/3.392, allocations: 8.491 MB / 1.833 GB, free: 13.73 MB / 1.326 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002356/3.393, allocations: 19.78 kB / 1.833 GB, free: 13.71 MB / 1.326 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001409/3.394, allocations: 307.2 kB / 1.834 GB, free: 13.42 MB / 1.326 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003476/3.395, allocations: 288.2 kB / 1.834 GB, free: 13.14 MB / 1.326 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02021/3.415, allocations: 7.022 MB / 1.841 GB, free: 6.164 MB / 1.326 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.07973/3.495, allocations: 40.91 MB / 1.881 GB, free: 11.21 MB / 1.373 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009465/3.504, allocations: 4.777 MB / 1.886 GB, free: 6.371 MB / 1.373 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005107/3.509, allocations: 2.37 MB / 1.888 GB, free: 4.004 MB / 1.373 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.03217/3.541, allocations: 10.44 MB / 1.898 GB, free: 9.18 MB / 1.389 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007744/3.549, allocations: 2.519 MB / 1.901 GB, free: 6.625 MB / 1.389 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005151/3.554, allocations: 354.4 kB / 1.901 GB, free: 6.277 MB / 1.389 GB Notification: Performance of pre-optimization done (n=397): time 3.121e-05/3.555, allocations: 0 / 1.901 GB, free: 6.277 MB / 1.389 GB Notification: Performance of matching and sorting (n=405): time 0.05129/3.606, allocations: 14.67 MB / 1.915 GB, free: 7.387 MB / 1.404 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001638/3.606, allocations: 248.8 kB / 1.915 GB, free: 7.094 MB / 1.404 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0212/3.627, allocations: 8.329 MB / 1.924 GB, free: 14.79 MB / 1.42 GB Notification: Performance of collectPreVariables (initialization): time 0.001509/3.629, allocations: 137.7 kB / 1.924 GB, free: 14.64 MB / 1.42 GB Notification: Performance of collectInitialEqns (initialization): time 0.00825/3.637, allocations: 4.978 MB / 1.929 GB, free: 9.656 MB / 1.42 GB Notification: Performance of collectInitialBindings (initialization): time 0.003129/3.64, allocations: 1.406 MB / 1.93 GB, free: 8.262 MB / 1.42 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005405/3.646, allocations: 1.133 MB / 1.931 GB, free: 7.121 MB / 1.42 GB Notification: Performance of setup shared object (initialization): time 0.0001309/3.646, allocations: 305.1 kB / 1.931 GB, free: 6.82 MB / 1.42 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006348/3.652, allocations: 2.194 MB / 1.933 GB, free: 4.613 MB / 1.42 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008476/3.661, allocations: 3.814 MB / 1.937 GB, free: 120 kB / 1.42 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01289/3.674, allocations: 5.733 MB / 1.943 GB, free: 9.938 MB / 1.436 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.461e-05/3.674, allocations: 16 kB / 1.943 GB, free: 9.922 MB / 1.436 GB Notification: Performance of matching and sorting (n=706) (initialization): time 0.03017/3.704, allocations: 8.138 MB / 1.951 GB, free: 1.934 MB / 1.436 GB Notification: Performance of prepare postOptimizeDAE: time 8.275e-05/3.704, allocations: 23.94 kB / 1.951 GB, free: 1.91 MB / 1.436 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.302e-05/3.704, allocations: 40 kB / 1.951 GB, free: 1.871 MB / 1.436 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01014/3.714, allocations: 1.776 MB / 1.953 GB, free: 92 kB / 1.436 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006251/3.721, allocations: 1.229 MB / 1.954 GB, free: 14.93 MB / 1.451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01496/3.736, allocations: 8.45 MB / 1.962 GB, free: 6.047 MB / 1.451 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01023/3.746, allocations: 375.1 kB / 1.962 GB, free: 5.684 MB / 1.451 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001632/3.748, allocations: 267.9 kB / 1.963 GB, free: 5.422 MB / 1.451 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01176/3.759, allocations: 3.978 MB / 1.966 GB, free: 1.434 MB / 1.451 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007711/3.767, allocations: 3.716 MB / 1.97 GB, free: 13.05 MB / 1.467 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01159/3.779, allocations: 5.529 MB / 1.976 GB, free: 7.141 MB / 1.467 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.072e-05/3.779, allocations: 15.94 kB / 1.976 GB, free: 7.125 MB / 1.467 GB Notification: Performance of matching and sorting (n=706) (initialization_lambda0): time 0.02622/3.805, allocations: 7.76 MB / 1.983 GB, free: 15.59 MB / 1.482 GB Notification: Performance of prepare postOptimizeDAE: time 6.946e-05/3.805, allocations: 26.02 kB / 1.983 GB, free: 15.57 MB / 1.482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.623e-05/3.805, allocations: 40.88 kB / 1.983 GB, free: 15.53 MB / 1.482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008946/3.814, allocations: 1.563 MB / 1.985 GB, free: 13.96 MB / 1.482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005803/3.82, allocations: 1.196 MB / 1.986 GB, free: 12.84 MB / 1.482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01512/3.835, allocations: 10.42 MB / 1.996 GB, free: 1.906 MB / 1.482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00985/3.845, allocations: 388.8 kB / 1.996 GB, free: 1.527 MB / 1.482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001533/3.847, allocations: 267.9 kB / 1.997 GB, free: 1.266 MB / 1.482 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 175 * Number of states: 0 () * Number of discrete variables: 22 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (649): * Single equations (assignments): 641 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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 {(2,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(5,6), (13,22), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002883/3.85, allocations: 0.514 MB / 1.997 GB, free: 0.8203 MB / 1.482 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004289/3.854, allocations: 0.9037 MB / 1.998 GB, free: 15.9 MB / 1.498 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01808/3.872, allocations: 6.081 MB / 2.004 GB, free: 9.816 MB / 1.498 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009798/3.882, allocations: 4.517 MB / 2.008 GB, free: 5.297 MB / 1.498 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.745e-05/3.882, allocations: 7.984 kB / 2.008 GB, free: 5.289 MB / 1.498 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005873/3.888, allocations: 1.551 MB / 2.01 GB, free: 3.707 MB / 1.498 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003412/3.891, allocations: 95.92 kB / 2.01 GB, free: 3.613 MB / 1.498 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009057/3.9, allocations: 283.6 kB / 2.01 GB, free: 3.336 MB / 1.498 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00137/3.902, allocations: 327 kB / 2.011 GB, free: 3.016 MB / 1.498 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01802/3.92, allocations: 5.615 MB / 2.016 GB, free: 13.44 MB / 1.514 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01993/3.94, allocations: 7.743 MB / 2.024 GB, free: 5.648 MB / 1.514 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004674/3.945, allocations: 2.098 MB / 2.026 GB, free: 3.547 MB / 1.514 GB Notification: Performance of sorting global known variables: time 0.01441/3.959, allocations: 5.541 MB / 2.031 GB, free: 14.04 MB / 1.529 GB Notification: Performance of Backend: time 1.212e-06/3.959, allocations: 0 / 2.031 GB, free: 14.04 MB / 1.529 GB Notification: Performance of simCode: created initialization part: time 0.04045/4, allocations: 11.09 MB / 2.042 GB, free: 3.703 MB / 1.529 GB Notification: Performance of SimCode: time 0.05004/4.05, allocations: 21.92 MB / 2.063 GB, free: 13.99 MB / 1.561 GB Notification: Performance of Templates: time 1.513/5.563, allocations: 202.4 MB / 2.261 GB, free: 0.7096 GB / 1.654 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.System2.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.System2.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.System2.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.System2.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.System2.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.System2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.System2.pipe 2>&1)