Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000791/0.0007912, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0007982/0.0007983, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.306/1.306, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.644/1.644, allocations: 292.7 MB / 0.5499 GB, free: 14.58 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005005/0.0005005, allocations: 14.62 kB / 0.6737 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2319, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified6): time 0.6717/0.9037, allocations: 329.6 MB / 1.109 GB, free: 8.641 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1009/1.005, allocations: 72.92 MB / 1.18 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0158/1.021, allocations: 373.2 kB / 1.181 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01158/1.032, allocations: 3.14 MB / 1.184 GB, free: 12.06 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.02826/1.06, allocations: 8.843 MB / 1.192 GB, free: 3.188 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.01783/1.078, allocations: 6.01 MB / 1.198 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.03789/1.116, allocations: 32.59 MB / 1.23 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0192/1.135, allocations: 13.05 MB / 1.243 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02376/1.159, allocations: 10.1 MB / 1.253 GB, free: 5.273 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01695/1.176, allocations: 9.053 MB / 1.262 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.004167/1.18, allocations: 0.4961 MB / 1.262 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01305/1.193, allocations: 2.858 MB / 1.265 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.006607/1.2, allocations: 2.887 MB / 1.268 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.007572/1.208, allocations: 2.631 MB / 1.27 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.9666/2.174, allocations: 14.5 MB / 1.284 GB, free: 68.21 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/2.174, allocations: 0 / 1.284 GB, free: 68.21 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.316e-06/2.174, allocations: 2.625 kB / 1.284 GB, free: 68.21 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.00078/2.175, allocations: 3.562 kB / 1.284 GB, free: 68.21 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.03504/2.21, allocations: 13.81 MB / 1.298 GB, free: 62.52 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/2.21, allocations: 9.312 kB / 1.298 GB, free: 62.52 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01232/2.223, allocations: 2.219 MB / 1.3 GB, free: 61.74 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03627/2.259, allocations: 11.06 MB / 1.311 GB, free: 60.02 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002593/2.262, allocations: 0.785 MB / 1.312 GB, free: 59.98 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003725/2.265, allocations: 0.6965 MB / 1.312 GB, free: 59.98 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02828/2.294, allocations: 8.944 MB / 1.321 GB, free: 58.91 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003934/2.294, allocations: 19.5 kB / 1.321 GB, free: 58.91 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00272/2.297, allocations: 250.6 kB / 1.321 GB, free: 58.91 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002048/2.297, allocations: 152.6 kB / 1.321 GB, free: 58.91 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0209/2.318, allocations: 7.424 MB / 1.329 GB, free: 58.82 MB / 0.9669 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.08421/2.402, allocations: 50.45 MB / 1.378 GB, free: 31.01 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01115/2.413, allocations: 5.532 MB / 1.383 GB, free: 30.82 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007123/2.421, allocations: 3.995 MB / 1.387 GB, free: 30.75 MB / 0.9669 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.03727/2.458, allocations: 13.46 MB / 1.4 GB, free: 24.71 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006932/2.465, allocations: 3.726 MB / 1.404 GB, free: 23.66 MB / 0.9669 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01035/2.475, allocations: 1.865 MB / 1.406 GB, free: 22.92 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=320): time 1.959e-05/2.475, allocations: 0 / 1.406 GB, free: 22.92 MB / 0.9669 GB Notification: Performance of matching and sorting (n=506): time 0.1549/2.63, allocations: 53.62 MB / 1.458 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/2.63, allocations: 111 kB / 1.458 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02292/2.653, allocations: 12.51 MB / 1.471 GB, free: 14.8 MB / 0.9982 GB Notification: Performance of collectPreVariables (initialization): time 0.001747/2.655, allocations: 166.5 kB / 1.471 GB, free: 14.73 MB / 0.9982 GB Notification: Performance of collectInitialEqns (initialization): time 0.005587/2.661, allocations: 6.15 MB / 1.477 GB, free: 12.02 MB / 0.9982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002315/2.663, allocations: 1.714 MB / 1.478 GB, free: 10.55 MB / 0.9982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005962/2.664, allocations: 140.5 kB / 1.479 GB, free: 10.53 MB / 0.9982 GB Notification: Performance of setup shared object (initialization): time 0.0003698/2.664, allocations: 0.5923 MB / 1.479 GB, free: 10.05 MB / 0.9982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009844/2.674, allocations: 5.156 MB / 1.484 GB, free: 6.359 MB / 0.9982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01218/2.686, allocations: 7.818 MB / 1.492 GB, free: 15.12 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01192/2.698, allocations: 5.865 MB / 1.498 GB, free: 11.13 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.898e-05/2.698, allocations: 16 kB / 1.498 GB, free: 11.12 MB / 1.014 GB Notification: Performance of matching and sorting (n=953) (initialization): time 0.04401/2.742, allocations: 17.21 MB / 1.514 GB, free: 14.25 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.001358/2.744, allocations: 1.936 MB / 1.516 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000106/2.744, allocations: 61.53 kB / 1.516 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01433/2.758, allocations: 4.655 MB / 1.521 GB, free: 7.547 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01062/2.769, allocations: 2.039 MB / 1.523 GB, free: 5.645 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01314/2.782, allocations: 10.9 MB / 1.533 GB, free: 12.72 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01435/2.796, allocations: 1.209 MB / 1.535 GB, free: 11.62 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00193/2.798, allocations: 476.9 kB / 1.535 GB, free: 11.22 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/2.798, allocations: 7.094 kB / 1.535 GB, free: 11.21 MB / 1.045 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03508/2.833, allocations: 16.11 MB / 1.551 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002207/2.834, allocations: 64 kB / 1.551 GB, free: 15.69 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01195/2.845, allocations: 4.377 MB / 1.555 GB, free: 11.86 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009687/2.855, allocations: 2.021 MB / 1.557 GB, free: 9.98 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02294/2.878, allocations: 15.06 MB / 1.572 GB, free: 14.91 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0138/2.892, allocations: 1.206 MB / 1.573 GB, free: 13.82 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001852/2.894, allocations: 431.5 kB / 1.573 GB, free: 13.45 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 269 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,stepPump.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,pumpHea.stage,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (748): * Single equations (assignments): 735 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 80,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.008828/2.903, allocations: 3.108 MB / 1.577 GB, free: 11.5 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004563/2.907, allocations: 1.192 MB / 1.578 GB, free: 10.29 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03488/2.942, allocations: 14.97 MB / 1.592 GB, free: 15.39 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.2e-05/2.942, allocations: 63.17 kB / 1.592 GB, free: 15.34 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.499e-05/2.942, allocations: 5.312 kB / 1.592 GB, free: 15.33 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0266/2.969, allocations: 12.29 MB / 1.604 GB, free: 3.516 MB / 1.092 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 postOpt removeSimpleEquations (simulation): time 0.06406/3.033, allocations: 26.33 MB / 1.63 GB, free: 9.164 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-05/3.033, allocations: 8 kB / 1.63 GB, free: 9.156 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006179/3.039, allocations: 1.24 MB / 1.631 GB, free: 7.957 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009501/3.049, allocations: 3.271 MB / 1.634 GB, free: 4.684 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009059/3.05, allocations: 167.9 kB / 1.635 GB, free: 4.52 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01017/3.06, allocations: 9.58 MB / 1.644 GB, free: 10.77 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.099e-05/3.06, allocations: 11.19 kB / 1.644 GB, free: 10.77 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04148/3.101, allocations: 20.21 MB / 1.664 GB, free: 6.379 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008302/3.11, allocations: 2.304 MB / 1.666 GB, free: 4.039 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004905/3.115, allocations: 108 kB / 1.666 GB, free: 3.934 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01277/3.128, allocations: 1.033 MB / 1.667 GB, free: 2.898 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001435/3.129, allocations: 392.5 kB / 1.667 GB, free: 2.516 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001192/3.13, allocations: 241.6 kB / 1.668 GB, free: 2.281 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.01831/3.149, allocations: 8.452 MB / 1.676 GB, free: 9.883 MB / 1.17 GB Notification: Performance of sort global known variables: time 5.21e-07/3.149, allocations: 0 / 1.676 GB, free: 9.883 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.03333/3.182, allocations: 5.416 MB / 1.681 GB, free: 4.469 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,stepPump.y,stepPump.pulseStart,pumpHea.stage,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (441): * Single equations (assignments): 420 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {9 78,1 1,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.003941/3.186, allocations: 1.272 MB / 1.682 GB, free: 3.344 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.435/3.621, allocations: 19.94 MB / 1.702 GB, free: 0.5232 GB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-05/3.621, allocations: 2 kB / 1.702 GB, free: 0.5232 GB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.01223/3.633, allocations: 5.688 MB / 1.708 GB, free: 0.5216 GB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03054/3.664, allocations: 6.057 MB / 1.713 GB, free: 0.5205 GB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04622/3.71, allocations: 28.07 MB / 1.741 GB, free: 0.5077 GB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00812/3.718, allocations: 6.815 MB / 1.748 GB, free: 0.5062 GB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.01755/3.736, allocations: 3.85 MB / 1.751 GB, free: 0.5049 GB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004178/3.74, allocations: 0.9057 MB / 1.752 GB, free: 0.5041 GB / 1.17 GB Notification: Performance of SimCode: time 1.203e-06/3.74, allocations: 0 / 1.752 GB, free: 0.5041 GB / 1.17 GB Notification: Performance of Templates: time 0.2988/4.039, allocations: 249.3 MB / 1.996 GB, free: 270.2 MB / 1.17 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.sim & ./Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1) Environment - environmentSimulation: