Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.Tutorial.Boiler.System4.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.System4,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.System4") translateModel(Buildings.Examples.Tutorial.Boiler.System4,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.System4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001901/0.001901, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.002221/0.002221, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.399/1.399, allocations: 222.9 MB / 241 MB, free: 15.15 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.531/2.531, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 63.91 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.081/1.083, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System4): time 1.783/2.866, allocations: 0.5098 GB / 1.677 GB, free: 50.85 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.112/2.978, allocations: 67.99 MB / 1.743 GB, free: 43.84 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02276/3.001, allocations: 416 kB / 1.744 GB, free: 43.84 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01997/3.021, allocations: 5.78 MB / 1.749 GB, free: 42.61 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.04331/3.064, allocations: 14.12 MB / 1.763 GB, free: 36.58 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.02952/3.094, allocations: 9.564 MB / 1.773 GB, free: 30.75 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.0537/3.148, allocations: 36.73 MB / 1.808 GB, free: 15.2 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02723/3.175, allocations: 11.06 MB / 1.819 GB, free: 4.168 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03477/3.21, allocations: 11.89 MB / 1.831 GB, free: 8.965 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02078/3.23, allocations: 8.765 MB / 1.839 GB, free: 0.8516 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.006356/3.237, allocations: 1.093 MB / 1.841 GB, free: 15.76 MB / 1.326 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02624/3.263, allocations: 6.115 MB / 1.847 GB, free: 10.01 MB / 1.326 GB Notification: Performance of NFScalarize.scalarize: time 0.008428/3.272, allocations: 3.312 MB / 1.85 GB, free: 6.746 MB / 1.326 GB Notification: Performance of NFVerifyModel.verify: time 0.02217/3.294, allocations: 6.636 MB / 1.856 GB, free: 144 kB / 1.326 GB Notification: Performance of NFConvertDAE.convert: time 0.04657/3.34, allocations: 19.06 MB / 1.875 GB, free: 13.7 MB / 1.357 GB Notification: Performance of FrontEnd - DAE generated: time 1.249e-05/3.34, allocations: 0 / 1.875 GB, free: 13.7 MB / 1.357 GB Notification: Performance of FrontEnd: time 2.064e-06/3.34, allocations: 0 / 1.875 GB, free: 13.7 MB / 1.357 GB Notification: Performance of Transformations before backend: time 0.001094/3.342, allocations: 0 / 1.875 GB, free: 13.7 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: 1628 * Number of variables: 1628 Notification: Performance of Generate backend data structure: time 0.03977/3.381, allocations: 13.01 MB / 1.888 GB, free: 0.6758 MB / 1.357 GB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/3.381, allocations: 8.922 kB / 1.888 GB, free: 0.668 MB / 1.357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01262/3.394, allocations: 2.093 MB / 1.89 GB, free: 14.56 MB / 1.373 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02844/3.423, allocations: 11.85 MB / 1.901 GB, free: 2.895 MB / 1.373 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005442/3.423, allocations: 0.4992 MB / 1.902 GB, free: 2.398 MB / 1.373 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002406/3.426, allocations: 0.678 MB / 1.902 GB, free: 1.723 MB / 1.373 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01994/3.445, allocations: 7.648 MB / 1.91 GB, free: 9.797 MB / 1.389 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002757/3.446, allocations: 19.86 kB / 1.91 GB, free: 9.777 MB / 1.389 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001639/3.447, allocations: 273.3 kB / 1.91 GB, free: 9.516 MB / 1.389 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002547/3.448, allocations: 264 kB / 1.91 GB, free: 9.254 MB / 1.389 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0159/3.464, allocations: 5.945 MB / 1.916 GB, free: 3.289 MB / 1.389 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.0626/3.526, allocations: 38.95 MB / 1.954 GB, free: 9.883 MB / 1.436 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006305/3.533, allocations: 3.94 MB / 1.958 GB, free: 5.844 MB / 1.436 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003323/3.536, allocations: 2.092 MB / 1.96 GB, free: 3.75 MB / 1.436 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.02286/3.559, allocations: 9.621 MB / 1.969 GB, free: 9.727 MB / 1.451 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003837/3.563, allocations: 2.087 MB / 1.971 GB, free: 7.598 MB / 1.451 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003507/3.566, allocations: 335.3 kB / 1.972 GB, free: 7.27 MB / 1.451 GB Notification: Performance of pre-optimization done (n=329): time 1.193e-05/3.566, allocations: 4 kB / 1.972 GB, free: 7.266 MB / 1.451 GB Notification: Performance of matching and sorting (n=337): time 0.03539/3.602, allocations: 12.91 MB / 1.984 GB, free: 10.08 MB / 1.467 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.24e-05/3.602, allocations: 111.8 kB / 1.985 GB, free: 9.949 MB / 1.467 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01773/3.619, allocations: 8.952 MB / 1.993 GB, free: 1.035 MB / 1.467 GB Notification: Performance of collectPreVariables (initialization): time 0.001386/3.621, allocations: 113.7 kB / 1.993 GB, free: 0.918 MB / 1.467 GB Notification: Performance of collectInitialEqns (initialization): time 0.005101/3.626, allocations: 4.913 MB / 1.998 GB, free: 12.01 MB / 1.482 GB Notification: Performance of collectInitialBindings (initialization): time 0.001972/3.628, allocations: 1.191 MB / 1.999 GB, free: 10.82 MB / 1.482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00207/3.63, allocations: 1.214 MB / 2.001 GB, free: 9.602 MB / 1.482 GB Notification: Performance of setup shared object (initialization): time 9.827e-05/3.63, allocations: 301.1 kB / 2.001 GB, free: 9.305 MB / 1.482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004507/3.635, allocations: 2.285 MB / 2.003 GB, free: 7.004 MB / 1.482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005979/3.641, allocations: 3.972 MB / 2.007 GB, free: 2.316 MB / 1.482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009298/3.65, allocations: 5.808 MB / 2.013 GB, free: 11.94 MB / 1.498 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.178e-05/3.65, allocations: 8 kB / 2.013 GB, free: 11.93 MB / 1.498 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01978/3.67, allocations: 7.988 MB / 2.02 GB, free: 3.91 MB / 1.498 GB Notification: Performance of prepare postOptimizeDAE: time 4.547e-05/3.67, allocations: 28.25 kB / 2.02 GB, free: 3.883 MB / 1.498 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.633e-05/3.67, allocations: 44 kB / 2.02 GB, free: 3.84 MB / 1.498 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008982/3.679, allocations: 1.689 MB / 2.022 GB, free: 2.148 MB / 1.498 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005137/3.684, allocations: 1.174 MB / 2.023 GB, free: 0.9727 MB / 1.498 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008296/3.692, allocations: 6.587 MB / 2.03 GB, free: 10.05 MB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01027/3.703, allocations: 380.4 kB / 2.03 GB, free: 9.672 MB / 1.514 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00117/3.704, allocations: 247.9 kB / 2.03 GB, free: 9.43 MB / 1.514 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01142/3.715, allocations: 4.204 MB / 2.034 GB, free: 5.215 MB / 1.514 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006985/3.722, allocations: 3.898 MB / 2.038 GB, free: 0.5977 MB / 1.514 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01031/3.733, allocations: 5.648 MB / 2.044 GB, free: 10.37 MB / 1.529 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.103e-05/3.733, allocations: 12 kB / 2.044 GB, free: 10.36 MB / 1.529 GB Notification: Performance of matching and sorting (n=752) (initialization_lambda0): time 0.02437/3.757, allocations: 7.976 MB / 2.052 GB, free: 2.336 MB / 1.529 GB Notification: Performance of prepare postOptimizeDAE: time 5.527e-05/3.757, allocations: 24 kB / 2.052 GB, free: 2.312 MB / 1.529 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.649e-05/3.757, allocations: 40 kB / 2.052 GB, free: 2.273 MB / 1.529 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008122/3.766, allocations: 1.49 MB / 2.053 GB, free: 0.7734 MB / 1.529 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005177/3.771, allocations: 1.147 MB / 2.054 GB, free: 15.62 MB / 1.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01228/3.783, allocations: 8.787 MB / 2.063 GB, free: 6.391 MB / 1.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009837/3.793, allocations: 414.8 kB / 2.063 GB, free: 5.988 MB / 1.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001444/3.794, allocations: 240 kB / 2.063 GB, free: 5.754 MB / 1.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 180 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,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 (633): * Single equations (assignments): 624 * 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 {(4,7), (13,22)} Notification: Performance of prepare postOptimizeDAE: time 0.002734/3.797, allocations: 0.5074 MB / 2.064 GB, free: 5.242 MB / 1.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004472/3.802, allocations: 0.8988 MB / 2.065 GB, free: 4.332 MB / 1.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01467/3.816, allocations: 5.137 MB / 2.07 GB, free: 15.14 MB / 1.561 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008227/3.825, allocations: 3.785 MB / 2.073 GB, free: 11.3 MB / 1.561 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.42e-05/3.825, allocations: 4 kB / 2.073 GB, free: 11.3 MB / 1.561 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006128/3.831, allocations: 1.493 MB / 2.075 GB, free: 9.773 MB / 1.561 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003743/3.834, allocations: 83.98 kB / 2.075 GB, free: 9.691 MB / 1.561 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007681/3.842, allocations: 237.7 kB / 2.075 GB, free: 9.461 MB / 1.561 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008444/3.843, allocations: 274.5 kB / 2.075 GB, free: 9.191 MB / 1.561 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01342/3.856, allocations: 4.823 MB / 2.08 GB, free: 4.383 MB / 1.561 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01458/3.871, allocations: 6.646 MB / 2.087 GB, free: 13.67 MB / 1.576 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003072/3.874, allocations: 1.772 MB / 2.088 GB, free: 11.89 MB / 1.576 GB Notification: Performance of sorting global known variables: time 0.01485/3.889, allocations: 5.924 MB / 2.094 GB, free: 6.004 MB / 1.576 GB Notification: Performance of Backend: time 7.62e-07/3.889, allocations: 0 / 2.094 GB, free: 6.004 MB / 1.576 GB Notification: Performance of simCode: created initialization part: time 0.0374/3.927, allocations: 10.45 MB / 2.104 GB, free: 11.74 MB / 1.592 GB Notification: Performance of SimCode: time 0.05821/3.985, allocations: 21.99 MB / 2.126 GB, free: 5.859 MB / 1.607 GB Notification: Performance of Templates: time 1.766/5.75, allocations: 202 MB / 2.323 GB, free: 0.5935 GB / 1.654 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.Boiler.System4.makefile (rm -f Buildings_10_Buildings.Examples.Tutorial.Boiler.System4.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.Boiler.System4.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.Boiler.System4.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.Boiler.System4.sim & ./Buildings_10_Buildings.Examples.Tutorial.Boiler.System4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.Boiler.System4.pipe 2>&1)