Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.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_latest_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_latest_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.001585/0.001585, allocations: 111.8 kB / 16.38 MB, free: 6.355 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.001775/0.001775, allocations: 190.6 kB / 17.31 MB, free: 5.895 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.458/1.458, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.668/2.668, allocations: 442.7 MB / 0.7166 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 67.89 kB / 1.027 GB, free: 1.531 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.081/1.083, allocations: 153 MB / 1.177 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System4): time 1.636/2.719, allocations: 0.5098 GB / 1.687 GB, free: 50.6 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.1175/2.836, allocations: 67.98 MB / 1.753 GB, free: 41.12 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03393/2.87, allocations: 412.9 kB / 1.753 GB, free: 41.12 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.02681/2.897, allocations: 5.644 MB / 1.759 GB, free: 39.43 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.04886/2.946, allocations: 13.48 MB / 1.772 GB, free: 33.43 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.03834/2.984, allocations: 9.537 MB / 1.781 GB, free: 27.68 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.06705/3.051, allocations: 36.67 MB / 1.817 GB, free: 9.766 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02918/3.081, allocations: 11.07 MB / 1.828 GB, free: 14.73 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0362/3.117, allocations: 11.53 MB / 1.839 GB, free: 3.879 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02061/3.138, allocations: 8.765 MB / 1.848 GB, free: 11.77 MB / 1.326 GB Notification: Performance of NFPackage.collectConstants: time 0.007145/3.145, allocations: 1.09 MB / 1.849 GB, free: 10.68 MB / 1.326 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02351/3.168, allocations: 6.112 MB / 1.855 GB, free: 4.93 MB / 1.326 GB Notification: Performance of NFScalarize.scalarize: time 0.007895/3.176, allocations: 3.311 MB / 1.858 GB, free: 1.668 MB / 1.326 GB Notification: Performance of NFVerifyModel.verify: time 0.01853/3.195, allocations: 6.652 MB / 1.864 GB, free: 11.04 MB / 1.342 GB Notification: Performance of NFConvertDAE.convert: time 0.04636/3.241, allocations: 19.03 MB / 1.883 GB, free: 8.629 MB / 1.357 GB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/3.241, allocations: 0 / 1.883 GB, free: 8.629 MB / 1.357 GB Notification: Performance of FrontEnd: time 2.495e-06/3.241, allocations: 0 / 1.883 GB, free: 8.629 MB / 1.357 GB Notification: Performance of Transformations before backend: time 0.0008129/3.242, allocations: 0 / 1.883 GB, free: 8.629 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.04572/3.288, allocations: 13 MB / 1.896 GB, free: 11.61 MB / 1.373 GB Notification: Performance of prepare preOptimizeDAE: time 7.447e-05/3.288, allocations: 8.031 kB / 1.896 GB, free: 11.61 MB / 1.373 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01466/3.303, allocations: 2.1 MB / 1.898 GB, free: 9.492 MB / 1.373 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03079/3.333, allocations: 11.85 MB / 1.909 GB, free: 13.82 MB / 1.389 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006949/3.334, allocations: 0.4953 MB / 1.91 GB, free: 13.33 MB / 1.389 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002813/3.337, allocations: 0.6732 MB / 1.911 GB, free: 12.66 MB / 1.389 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02192/3.359, allocations: 7.656 MB / 1.918 GB, free: 4.723 MB / 1.389 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003411/3.359, allocations: 11.94 kB / 1.918 GB, free: 4.711 MB / 1.389 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001951/3.361, allocations: 275.1 kB / 1.918 GB, free: 4.445 MB / 1.389 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003019/3.362, allocations: 264 kB / 1.919 GB, free: 4.184 MB / 1.389 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01683/3.378, allocations: 5.945 MB / 1.924 GB, free: 14.22 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.07352/3.452, allocations: 38.95 MB / 1.962 GB, free: 4.824 MB / 1.436 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008001/3.46, allocations: 3.93 MB / 1.966 GB, free: 0.793 MB / 1.436 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0044/3.465, allocations: 2.088 MB / 1.968 GB, free: 14.7 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.02825/3.493, allocations: 9.626 MB / 1.978 GB, free: 4.664 MB / 1.451 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005375/3.498, allocations: 2.094 MB / 1.98 GB, free: 2.531 MB / 1.451 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005056/3.503, allocations: 335 kB / 1.98 GB, free: 2.203 MB / 1.451 GB Notification: Performance of pre-optimization done (n=329): time 1.526e-05/3.503, allocations: 0 / 1.98 GB, free: 2.203 MB / 1.451 GB Notification: Performance of matching and sorting (n=337): time 0.03887/3.542, allocations: 12.93 MB / 1.993 GB, free: 5.008 MB / 1.467 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.882e-05/3.542, allocations: 111.8 kB / 1.993 GB, free: 4.879 MB / 1.467 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0224/3.565, allocations: 8.948 MB / 2.001 GB, free: 11.97 MB / 1.482 GB Notification: Performance of collectPreVariables (initialization): time 0.001288/3.566, allocations: 121.7 kB / 2.002 GB, free: 11.84 MB / 1.482 GB Notification: Performance of collectInitialEqns (initialization): time 0.006512/3.573, allocations: 4.902 MB / 2.006 GB, free: 6.938 MB / 1.482 GB Notification: Performance of collectInitialBindings (initialization): time 0.002302/3.575, allocations: 1.193 MB / 2.008 GB, free: 5.754 MB / 1.482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004392/3.579, allocations: 1.209 MB / 2.009 GB, free: 4.535 MB / 1.482 GB Notification: Performance of setup shared object (initialization): time 0.000119/3.579, allocations: 313.1 kB / 2.009 GB, free: 4.227 MB / 1.482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005515/3.585, allocations: 2.277 MB / 2.011 GB, free: 1.93 MB / 1.482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006916/3.592, allocations: 3.979 MB / 2.015 GB, free: 13.25 MB / 1.498 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01062/3.603, allocations: 5.799 MB / 2.021 GB, free: 6.875 MB / 1.498 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.994e-05/3.603, allocations: 12 kB / 2.021 GB, free: 6.863 MB / 1.498 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.02505/3.628, allocations: 7.99 MB / 2.029 GB, free: 14.83 MB / 1.514 GB Notification: Performance of prepare postOptimizeDAE: time 6.268e-05/3.628, allocations: 23.94 kB / 2.029 GB, free: 14.81 MB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.237e-05/3.628, allocations: 40 kB / 2.029 GB, free: 14.77 MB / 1.514 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009064/3.637, allocations: 1.686 MB / 2.03 GB, free: 13.08 MB / 1.514 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005453/3.642, allocations: 1.174 MB / 2.031 GB, free: 11.9 MB / 1.514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009613/3.652, allocations: 6.595 MB / 2.038 GB, free: 4.961 MB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00986/3.662, allocations: 380.4 kB / 2.038 GB, free: 4.59 MB / 1.514 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001336/3.663, allocations: 248.1 kB / 2.039 GB, free: 4.348 MB / 1.514 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01133/3.675, allocations: 4.203 MB / 2.043 GB, free: 140 kB / 1.514 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007626/3.682, allocations: 3.898 MB / 2.046 GB, free: 11.52 MB / 1.529 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01125/3.694, allocations: 5.659 MB / 2.052 GB, free: 5.273 MB / 1.529 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.395e-05/3.694, allocations: 12 kB / 2.052 GB, free: 5.262 MB / 1.529 GB Notification: Performance of matching and sorting (n=752) (initialization_lambda0): time 0.02435/3.718, allocations: 7.972 MB / 2.06 GB, free: 13.25 MB / 1.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.642e-05/3.718, allocations: 24 kB / 2.06 GB, free: 13.22 MB / 1.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.448e-05/3.718, allocations: 40 kB / 2.06 GB, free: 13.18 MB / 1.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008155/3.727, allocations: 1.492 MB / 2.061 GB, free: 11.68 MB / 1.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00545/3.732, allocations: 1.143 MB / 2.062 GB, free: 10.54 MB / 1.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01482/3.747, allocations: 8.786 MB / 2.071 GB, free: 1.301 MB / 1.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01253/3.759, allocations: 412.7 kB / 2.071 GB, free: 0.8984 MB / 1.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001478/3.761, allocations: 239.9 kB / 2.072 GB, free: 0.6641 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.002651/3.764, allocations: 0.4953 MB / 2.072 GB, free: 164 kB / 1.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004279/3.768, allocations: 0.8988 MB / 2.073 GB, free: 15.25 MB / 1.561 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0151/3.783, allocations: 5.149 MB / 2.078 GB, free: 10.04 MB / 1.561 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008383/3.791, allocations: 3.792 MB / 2.082 GB, free: 6.199 MB / 1.561 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.626e-05/3.791, allocations: 4 kB / 2.082 GB, free: 6.195 MB / 1.561 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006148/3.798, allocations: 1.501 MB / 2.083 GB, free: 4.664 MB / 1.561 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003432/3.801, allocations: 79.98 kB / 2.083 GB, free: 4.586 MB / 1.561 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007288/3.808, allocations: 227.7 kB / 2.083 GB, free: 4.363 MB / 1.561 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008532/3.809, allocations: 282.5 kB / 2.084 GB, free: 4.086 MB / 1.561 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01398/3.823, allocations: 4.81 MB / 2.088 GB, free: 15.29 MB / 1.576 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01568/3.839, allocations: 6.665 MB / 2.095 GB, free: 8.566 MB / 1.576 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00391/3.843, allocations: 1.768 MB / 2.097 GB, free: 6.789 MB / 1.576 GB Notification: Performance of sorting global known variables: time 0.01695/3.86, allocations: 5.924 MB / 2.102 GB, free: 0.9023 MB / 1.576 GB Notification: Performance of Backend: time 2.053e-06/3.86, allocations: 0 / 2.102 GB, free: 0.9023 MB / 1.576 GB Notification: Performance of simCode: created initialization part: time 0.03916/3.899, allocations: 10.44 MB / 2.113 GB, free: 6.707 MB / 1.592 GB Notification: Performance of SimCode: time 0.06175/3.961, allocations: 22.01 MB / 2.134 GB, free: 0.8438 MB / 1.607 GB Notification: Performance of Templates: time 1.785/5.746, allocations: 200 MB / 2.329 GB, free: 0.584 GB / 1.654 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System4.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System4.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.Boiler.System4.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.Boiler.System4.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System4.sim & ./Buildings_latest_Buildings.Examples.Tutorial.Boiler.System4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.Boiler.System4.pipe 2>&1)