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.001486/0.001486, allocations: 116.2 kB / 16.42 MB, free: 6.5 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.001676/0.001676, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.426/1.426, allocations: 222.9 MB / 241.1 MB, free: 15.19 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.565/2.565, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 63.91 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.099/1.101, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System4): time 1.691/2.792, allocations: 0.5098 GB / 1.677 GB, free: 50.84 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.1051/2.897, allocations: 67.99 MB / 1.743 GB, free: 43.78 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02276/2.92, allocations: 414.1 kB / 1.744 GB, free: 43.78 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.02475/2.945, allocations: 5.778 MB / 1.75 GB, free: 42.55 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.04895/2.994, allocations: 14.12 MB / 1.763 GB, free: 36.53 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.0275/3.022, allocations: 9.563 MB / 1.773 GB, free: 30.7 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.05246/3.074, allocations: 36.71 MB / 1.808 GB, free: 15.21 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02147/3.096, allocations: 11.05 MB / 1.819 GB, free: 4.195 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03549/3.131, allocations: 11.87 MB / 1.831 GB, free: 9.016 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02269/3.154, allocations: 8.77 MB / 1.839 GB, free: 0.8984 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.007445/3.161, allocations: 1.09 MB / 1.84 GB, free: 15.8 MB / 1.326 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02498/3.186, allocations: 6.116 MB / 1.846 GB, free: 10.05 MB / 1.326 GB Notification: Performance of NFScalarize.scalarize: time 0.008116/3.195, allocations: 3.312 MB / 1.85 GB, free: 6.793 MB / 1.326 GB Notification: Performance of NFVerifyModel.verify: time 0.02483/3.219, allocations: 6.642 MB / 1.856 GB, free: 188 kB / 1.326 GB Notification: Performance of NFConvertDAE.convert: time 0.04774/3.267, allocations: 19.12 MB / 1.875 GB, free: 13.66 MB / 1.357 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/3.267, allocations: 0 / 1.875 GB, free: 13.66 MB / 1.357 GB Notification: Performance of FrontEnd: time 1.873e-06/3.267, allocations: 0 / 1.875 GB, free: 13.66 MB / 1.357 GB Notification: Performance of Transformations before backend: time 0.0008629/3.268, allocations: 0 / 1.875 GB, free: 13.66 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.04551/3.314, allocations: 13.4 MB / 1.888 GB, free: 252 kB / 1.357 GB Notification: Performance of prepare preOptimizeDAE: time 6.311e-05/3.314, allocations: 12.03 kB / 1.888 GB, free: 240 kB / 1.357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01498/3.329, allocations: 2.159 MB / 1.89 GB, free: 14.06 MB / 1.373 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03467/3.363, allocations: 11.93 MB / 1.902 GB, free: 2.324 MB / 1.373 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007756/3.364, allocations: 0.5004 MB / 1.902 GB, free: 1.824 MB / 1.373 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003164/3.367, allocations: 0.6783 MB / 1.903 GB, free: 1.148 MB / 1.373 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02361/3.391, allocations: 7.656 MB / 1.91 GB, free: 9.215 MB / 1.389 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003539/3.391, allocations: 19.83 kB / 1.91 GB, free: 9.195 MB / 1.389 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002061/3.394, allocations: 268.7 kB / 1.911 GB, free: 8.938 MB / 1.389 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003216/3.394, allocations: 264.1 kB / 1.911 GB, free: 8.676 MB / 1.389 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01677/3.411, allocations: 5.941 MB / 1.917 GB, free: 2.715 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.07582/3.486, allocations: 39.03 MB / 1.955 GB, free: 9.234 MB / 1.436 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008047/3.495, allocations: 3.932 MB / 1.959 GB, free: 5.203 MB / 1.436 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0047/3.499, allocations: 2.096 MB / 1.961 GB, free: 3.105 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.02752/3.527, allocations: 9.641 MB / 1.97 GB, free: 9.062 MB / 1.451 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005234/3.532, allocations: 2.087 MB / 1.972 GB, free: 6.934 MB / 1.451 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004164/3.536, allocations: 329.5 kB / 1.972 GB, free: 6.609 MB / 1.451 GB Notification: Performance of pre-optimization done (n=329): time 1.345e-05/3.536, allocations: 0 / 1.972 GB, free: 6.609 MB / 1.451 GB Notification: Performance of matching and sorting (n=337): time 0.04343/3.58, allocations: 13.1 MB / 1.985 GB, free: 9.25 MB / 1.467 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.763e-05/3.58, allocations: 111.8 kB / 1.985 GB, free: 9.121 MB / 1.467 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02339/3.603, allocations: 8.949 MB / 1.994 GB, free: 216 kB / 1.467 GB Notification: Performance of collectPreVariables (initialization): time 0.001314/3.605, allocations: 117.7 kB / 1.994 GB, free: 92 kB / 1.467 GB Notification: Performance of collectInitialEqns (initialization): time 0.007078/3.612, allocations: 4.993 MB / 1.999 GB, free: 11.1 MB / 1.482 GB Notification: Performance of collectInitialBindings (initialization): time 0.002372/3.614, allocations: 1.251 MB / 2 GB, free: 9.867 MB / 1.482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004559/3.619, allocations: 1.214 MB / 2.001 GB, free: 8.641 MB / 1.482 GB Notification: Performance of setup shared object (initialization): time 0.000117/3.619, allocations: 305.1 kB / 2.002 GB, free: 8.34 MB / 1.482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00576/3.625, allocations: 2.285 MB / 2.004 GB, free: 6.039 MB / 1.482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007498/3.632, allocations: 3.976 MB / 2.008 GB, free: 1.348 MB / 1.482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01268/3.645, allocations: 5.807 MB / 2.014 GB, free: 10.97 MB / 1.498 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.532e-05/3.645, allocations: 12 kB / 2.014 GB, free: 10.96 MB / 1.498 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.02552/3.671, allocations: 8.031 MB / 2.021 GB, free: 2.902 MB / 1.498 GB Notification: Performance of prepare postOptimizeDAE: time 6.816e-05/3.671, allocations: 20 kB / 2.021 GB, free: 2.883 MB / 1.498 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.759e-05/3.671, allocations: 40 kB / 2.021 GB, free: 2.844 MB / 1.498 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009318/3.68, allocations: 1.692 MB / 2.023 GB, free: 1.148 MB / 1.498 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005687/3.686, allocations: 1.17 MB / 2.024 GB, free: 15.97 MB / 1.514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009202/3.695, allocations: 6.592 MB / 2.031 GB, free: 9.047 MB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00964/3.705, allocations: 376.5 kB / 2.031 GB, free: 8.676 MB / 1.514 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00145/3.706, allocations: 251.9 kB / 2.031 GB, free: 8.43 MB / 1.514 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01079/3.717, allocations: 4.197 MB / 2.035 GB, free: 4.223 MB / 1.514 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007283/3.724, allocations: 3.902 MB / 2.039 GB, free: 15.6 MB / 1.529 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01101/3.735, allocations: 5.65 MB / 2.045 GB, free: 9.371 MB / 1.529 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.471e-05/3.736, allocations: 12 kB / 2.045 GB, free: 9.359 MB / 1.529 GB Notification: Performance of matching and sorting (n=752) (initialization_lambda0): time 0.02775/3.763, allocations: 8.027 MB / 2.053 GB, free: 1.289 MB / 1.529 GB Notification: Performance of prepare postOptimizeDAE: time 7.143e-05/3.763, allocations: 24 kB / 2.053 GB, free: 1.266 MB / 1.529 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.701e-05/3.763, allocations: 43.94 kB / 2.053 GB, free: 1.223 MB / 1.529 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008612/3.772, allocations: 1.483 MB / 2.054 GB, free: 15.72 MB / 1.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005506/3.778, allocations: 1.147 MB / 2.055 GB, free: 14.57 MB / 1.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01311/3.791, allocations: 8.804 MB / 2.064 GB, free: 5.332 MB / 1.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009924/3.801, allocations: 405.1 kB / 2.064 GB, free: 4.938 MB / 1.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001409/3.802, allocations: 243.9 kB / 2.064 GB, free: 4.699 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.002635/3.805, allocations: 0.499 MB / 2.065 GB, free: 4.191 MB / 1.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004235/3.809, allocations: 0.9549 MB / 2.066 GB, free: 3.23 MB / 1.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01467/3.824, allocations: 5.129 MB / 2.071 GB, free: 14.04 MB / 1.561 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008468/3.832, allocations: 3.795 MB / 2.075 GB, free: 10.2 MB / 1.561 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/3.832, allocations: 0 / 2.075 GB, free: 10.2 MB / 1.561 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0057/3.838, allocations: 1.537 MB / 2.076 GB, free: 8.633 MB / 1.561 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003654/3.842, allocations: 79.98 kB / 2.076 GB, free: 8.555 MB / 1.561 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007127/3.849, allocations: 242 kB / 2.076 GB, free: 8.32 MB / 1.561 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009992/3.85, allocations: 286.4 kB / 2.077 GB, free: 8.039 MB / 1.561 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01364/3.864, allocations: 4.815 MB / 2.081 GB, free: 3.238 MB / 1.561 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01428/3.878, allocations: 6.714 MB / 2.088 GB, free: 12.46 MB / 1.576 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003352/3.881, allocations: 1.768 MB / 2.09 GB, free: 10.69 MB / 1.576 GB Notification: Performance of sorting global known variables: time 0.0144/3.896, allocations: 5.924 MB / 2.095 GB, free: 4.801 MB / 1.576 GB Notification: Performance of Backend: time 1.333e-06/3.896, allocations: 0 / 2.095 GB, free: 4.801 MB / 1.576 GB Notification: Performance of simCode: created initialization part: time 0.03578/3.932, allocations: 10.47 MB / 2.106 GB, free: 10.52 MB / 1.592 GB Notification: Performance of SimCode: time 0.06099/3.993, allocations: 22.34 MB / 2.127 GB, free: 4.262 MB / 1.607 GB Notification: Performance of Templates: time 1.705/5.697, allocations: 202 MB / 2.325 GB, free: 0.5918 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)