Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.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.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007433/0.0007433, allocations: 87.84 kB / 15.06 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.0007769/0.0007769, allocations: 176.7 kB / 15.96 MB, free: 196 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.281/1.281, 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.68/1.68, allocations: 292.7 MB / 0.5499 GB, free: 14.59 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.0005167/0.0005167, allocations: 12.31 kB / 0.6737 GB, free: 26.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2201, allocations: 116.3 MB / 0.7873 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified5): time 0.6698/0.8898, allocations: 329.6 MB / 1.109 GB, free: 8.68 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1009/0.9908, allocations: 72.94 MB / 1.18 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01694/1.008, allocations: 373.2 kB / 1.181 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01306/1.021, allocations: 3.144 MB / 1.184 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.02993/1.051, allocations: 8.849 MB / 1.192 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.01831/1.069, allocations: 6.016 MB / 1.198 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.04102/1.11, allocations: 32.59 MB / 1.23 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02214/1.132, allocations: 14.16 MB / 1.244 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02861/1.161, allocations: 11.82 MB / 1.255 GB, free: 2.461 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02549/1.187, allocations: 12.54 MB / 1.268 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.006258/1.193, allocations: 0.9726 MB / 1.269 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01527/1.208, allocations: 3.327 MB / 1.272 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.5291/1.737, allocations: 4.013 MB / 1.276 GB, free: 56.28 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.01015/1.748, allocations: 2.634 MB / 1.278 GB, free: 56.25 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.02969/1.777, allocations: 17.47 MB / 1.295 GB, free: 55.69 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/1.777, allocations: 2.5 kB / 1.295 GB, free: 55.69 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.315e-06/1.777, allocations: 0 / 1.295 GB, free: 55.69 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0009638/1.778, allocations: 0 / 1.295 GB, free: 55.69 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.05396/1.832, allocations: 17.1 MB / 1.312 GB, free: 50 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/1.832, allocations: 14.64 kB / 1.312 GB, free: 50 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01501/1.847, allocations: 2.368 MB / 1.314 GB, free: 49.22 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03207/1.879, allocations: 12.09 MB / 1.326 GB, free: 47.52 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001578/1.881, allocations: 0.7825 MB / 1.327 GB, free: 47.5 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006214/1.887, allocations: 0.6907 MB / 1.328 GB, free: 47.5 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04024/1.927, allocations: 14.03 MB / 1.341 GB, free: 46.94 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005017/1.928, allocations: 7.844 kB / 1.341 GB, free: 46.94 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006576/1.935, allocations: 245.4 kB / 1.342 GB, free: 46.94 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002284/1.935, allocations: 152 kB / 1.342 GB, free: 46.94 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04442/1.979, allocations: 19 MB / 1.36 GB, free: 46.85 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.1263/2.106, allocations: 73.42 MB / 1.432 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01682/2.123, allocations: 10.62 MB / 1.442 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0134/2.136, allocations: 9.136 MB / 1.451 GB, free: 4.098 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.06831/2.204, allocations: 31.89 MB / 1.483 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01743/2.222, allocations: 8.889 MB / 1.491 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03054/2.252, allocations: 9.956 MB / 1.501 GB, free: 12.1 MB / 1.014 GB Notification: Performance of pre-optimization done (n=387): time 3.235e-05/2.252, allocations: 0 / 1.501 GB, free: 12.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=573): time 1.363/3.616, allocations: 219.6 MB / 1.715 GB, free: 0.5016 GB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.115e-05/3.616, allocations: 110.6 kB / 1.715 GB, free: 0.5015 GB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01744/3.633, allocations: 12.28 MB / 1.727 GB, free: 0.4977 GB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.003566/3.637, allocations: 177.2 kB / 1.728 GB, free: 0.4976 GB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.005483/3.643, allocations: 5.95 MB / 1.733 GB, free: 0.494 GB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.00442/3.647, allocations: 1.928 MB / 1.735 GB, free: 0.4937 GB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001956/3.649, allocations: 143.5 kB / 1.735 GB, free: 0.4936 GB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0003556/3.649, allocations: 0.5977 MB / 1.736 GB, free: 0.4932 GB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01591/3.665, allocations: 9.39 MB / 1.745 GB, free: 0.49 GB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01833/3.684, allocations: 11.72 MB / 1.757 GB, free: 495.7 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01786/3.702, allocations: 10.21 MB / 1.767 GB, free: 491.7 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-05/3.702, allocations: 14.22 kB / 1.767 GB, free: 491.7 MB / 1.17 GB Notification: Performance of matching and sorting (n=958) (initialization): time 0.5818/4.283, allocations: 139.3 MB / 1.903 GB, free: 362.3 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007529/4.284, allocations: 1.531 MB / 1.904 GB, free: 360.1 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.142e-05/4.284, allocations: 44 kB / 1.904 GB, free: 360.1 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6166/4.901, allocations: 166.1 MB / 2.066 GB, free: 193.8 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009536/4.91, allocations: 1.943 MB / 2.068 GB, free: 191.8 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1509/5.061, allocations: 95.45 MB / 2.162 GB, free: 95.98 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0188/5.08, allocations: 1.201 MB / 2.163 GB, free: 94.8 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004475/5.085, allocations: 0.7769 MB / 2.163 GB, free: 94.02 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/5.085, allocations: 8 kB / 2.163 GB, free: 94.01 MB / 1.17 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.016/6.1, allocations: 138.2 MB / 2.298 GB, free: 476.3 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001221/6.1, allocations: 43.75 kB / 2.298 GB, free: 476.3 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.611/6.712, allocations: 165.8 MB / 2.46 GB, free: 341.2 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009318/6.721, allocations: 1.931 MB / 2.462 GB, free: 339.3 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1681/6.889, allocations: 99.55 MB / 2.56 GB, free: 239.7 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01783/6.907, allocations: 1.192 MB / 2.561 GB, free: 238.6 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004314/6.911, allocations: 0.7411 MB / 2.561 GB, free: 237.8 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * 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 (683): * Single equations (assignments): 669 * 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: 3 * 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: 1 {(32,82.2%) 39} * Non-linear torn systems: 2 {7 78,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.01097/6.922, allocations: 3.082 MB / 2.564 GB, free: 234.8 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004324/6.927, allocations: 1.2 MB / 2.566 GB, free: 234.2 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1882/7.115, allocations: 53.54 MB / 2.618 GB, free: 180.8 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001371/7.115, allocations: 79.98 kB / 2.618 GB, free: 180.7 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.00022/7.115, allocations: 32 kB / 2.618 GB, free: 180.6 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.176/7.291, allocations: 47.96 MB / 2.665 GB, free: 132.6 MB / 1.17 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.2253/7.516, allocations: 67.57 MB / 2.731 GB, free: 65 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.697e-05/7.517, allocations: 11.95 kB / 2.731 GB, free: 64.99 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006975/7.524, allocations: 1.351 MB / 2.732 GB, free: 63.64 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.6677/8.191, allocations: 49.24 MB / 2.78 GB, free: 474.3 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00294/8.194, allocations: 197.5 kB / 2.78 GB, free: 474.3 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07611/8.27, allocations: 41.4 MB / 2.821 GB, free: 463.3 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/8.271, allocations: 9.906 kB / 2.821 GB, free: 463.3 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1858/8.456, allocations: 60.5 MB / 2.88 GB, free: 449.1 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008475/8.465, allocations: 2.696 MB / 2.883 GB, free: 447.5 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004551/8.469, allocations: 127.8 kB / 2.883 GB, free: 447.4 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01226/8.482, allocations: 1.018 MB / 2.884 GB, free: 446.7 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002716/8.484, allocations: 497.4 kB / 2.884 GB, free: 446.4 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001383/8.486, allocations: 275.1 kB / 2.884 GB, free: 446.2 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.01422/8.5, allocations: 8.322 MB / 2.893 GB, free: 439.4 MB / 1.17 GB Notification: Performance of sort global known variables: time 4.2e-07/8.5, allocations: 0 / 2.893 GB, free: 439.4 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.04036/8.54, allocations: 6.886 MB / 2.899 GB, free: 432.7 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 (504): * Single equations (assignments): 482 * 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: 4 * 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: 1 {(31,84.4%) 40} * Non-linear torn systems: 3 {9 78,1 1,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.004296/8.545, allocations: 1.301 MB / 2.901 GB, free: 431.8 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.07743/8.622, allocations: 38.35 MB / 2.938 GB, free: 400.4 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/8.622, allocations: 0 / 2.938 GB, free: 400.4 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.02089/8.643, allocations: 10.89 MB / 2.949 GB, free: 391 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03172/8.675, allocations: 6.376 MB / 2.955 GB, free: 386.6 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04687/8.722, allocations: 30.89 MB / 2.985 GB, free: 357.2 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006783/8.729, allocations: 7.083 MB / 2.992 GB, free: 350.3 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.01744/8.746, allocations: 3.725 MB / 2.996 GB, free: 346.6 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004588/8.751, allocations: 0.9521 MB / 2.997 GB, free: 345.6 MB / 1.17 GB Notification: Performance of SimCode: time 1.432e-06/8.751, allocations: 0 / 2.997 GB, free: 345.6 MB / 1.17 GB Notification: Performance of Templates: time 1.213/9.963, allocations: 393.9 MB / 3.381 GB, free: 474.3 MB / 1.17 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.sim & ./Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1) Environment - environmentSimulation: