Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.191/2.191, allocations: 251.3 MB / 266.2 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001362/0.001362, allocations: 183.2 kB / 325.8 MB, free: 2.82 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.563/2.563, allocations: 205.4 MB / 0.5767 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008675/0.0008673, allocations: 88.61 kB / 0.6812 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004757/0.0004758, allocations: 16.19 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2057, allocations: 106.3 MB / 0.899 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified4): time 1.174/1.38, allocations: 329.5 MB / 1.221 GB, free: 4.031 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.1552/1.536, allocations: 72.85 MB / 1.292 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0171/1.553, allocations: 373.2 kB / 1.292 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.01822/1.571, allocations: 3.552 MB / 1.296 GB, free: 7.117 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.04466/1.616, allocations: 10.35 MB / 1.306 GB, free: 12.73 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.03045/1.646, allocations: 6.866 MB / 1.313 GB, free: 5.934 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.06591/1.712, allocations: 38.52 MB / 1.35 GB, free: 15.29 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03622/1.748, allocations: 15.42 MB / 1.365 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03787/1.786, allocations: 12.81 MB / 1.378 GB, free: 2.914 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03674/1.823, allocations: 13.49 MB / 1.391 GB, free: 5.375 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.007542/1.831, allocations: 0.9922 MB / 1.392 GB, free: 4.383 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02184/1.853, allocations: 3.756 MB / 1.396 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.499/3.352, allocations: 4.224 MB / 1.4 GB, free: 44.57 MB / 0.9012 GB Notification: Performance of NFVerifyModel.verify: time 0.012/3.364, allocations: 2.934 MB / 1.403 GB, free: 44.54 MB / 0.9012 GB Notification: Performance of NFConvertDAE.convert: time 0.04161/3.406, allocations: 19.25 MB / 1.421 GB, free: 43.93 MB / 0.9012 GB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/3.406, allocations: 3 kB / 1.421 GB, free: 43.93 MB / 0.9012 GB Notification: Performance of FrontEnd: time 2.515e-06/3.406, allocations: 2.625 kB / 1.421 GB, free: 43.93 MB / 0.9012 GB Notification: Performance of Transformations before backend: time 0.0009334/3.407, allocations: 0 / 1.421 GB, free: 43.93 MB / 0.9012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1775 * Number of variables: 1775 Notification: Performance of Generate backend data structure: time 0.0827/3.489, allocations: 18.15 MB / 1.439 GB, free: 37.68 MB / 0.9012 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/3.489, allocations: 12.94 kB / 1.439 GB, free: 37.68 MB / 0.9012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01859/3.508, allocations: 2.297 MB / 1.441 GB, free: 36.82 MB / 0.9012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04973/3.558, allocations: 13.38 MB / 1.454 GB, free: 34.94 MB / 0.9012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002041/3.56, allocations: 0.7242 MB / 1.455 GB, free: 34.92 MB / 0.9012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005958/3.566, allocations: 0.7885 MB / 1.456 GB, free: 34.91 MB / 0.9012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05366/3.62, allocations: 14.83 MB / 1.47 GB, free: 34.18 MB / 0.9012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005005/3.62, allocations: 11.22 kB / 1.47 GB, free: 34.18 MB / 0.9012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005235/3.625, allocations: 290.9 kB / 1.471 GB, free: 34.18 MB / 0.9012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002955/3.626, allocations: 188.5 kB / 1.471 GB, free: 34.18 MB / 0.9012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05663/3.682, allocations: 19.29 MB / 1.49 GB, free: 34.11 MB / 0.9012 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.1918/3.874, allocations: 77.4 MB / 1.565 GB, free: 7.059 MB / 0.9168 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02771/3.902, allocations: 10.55 MB / 1.576 GB, free: 4.059 MB / 0.9168 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02377/3.926, allocations: 9.099 MB / 1.585 GB, free: 14.75 MB / 0.9324 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.1096/4.036, allocations: 32.65 MB / 1.616 GB, free: 5.391 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02567/4.061, allocations: 8.789 MB / 1.625 GB, free: 15.51 MB / 0.9637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05519/4.117, allocations: 9.83 MB / 1.635 GB, free: 6.355 MB / 0.9637 GB Notification: Performance of pre-optimization done (n=421): time 3.13e-05/4.117, allocations: 4 kB / 1.635 GB, free: 6.352 MB / 0.9637 GB Notification: Performance of matching and sorting (n=605): time 2.442/6.559, allocations: 195.1 MB / 1.825 GB, free: 479.3 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.637e-05/6.559, allocations: 123.5 kB / 1.825 GB, free: 479.3 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0336/6.593, allocations: 13.02 MB / 1.838 GB, free: 474.9 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.004119/6.597, allocations: 183.2 kB / 1.838 GB, free: 474.7 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.01181/6.609, allocations: 6.588 MB / 1.845 GB, free: 470.3 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.006648/6.615, allocations: 2.047 MB / 1.847 GB, free: 469.7 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004252/6.62, allocations: 155.8 kB / 1.847 GB, free: 469.6 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0007143/6.62, allocations: 0.619 MB / 1.847 GB, free: 469 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02817/6.649, allocations: 9.136 MB / 1.856 GB, free: 464 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03068/6.679, allocations: 11.66 MB / 1.868 GB, free: 455.9 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03048/6.71, allocations: 10.08 MB / 1.877 GB, free: 447.9 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.317e-05/6.71, allocations: 16 kB / 1.877 GB, free: 447.9 MB / 1.089 GB Notification: Performance of matching and sorting (n=1027) (initialization): time 1.446/8.156, allocations: 123.6 MB / 1.998 GB, free: 324.1 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009784/8.157, allocations: 1.737 MB / 2 GB, free: 321.6 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.685e-05/8.158, allocations: 52 kB / 2 GB, free: 321.6 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473/9.631, allocations: 143.5 MB / 2.14 GB, free: 177.9 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02066/9.652, allocations: 1.985 MB / 2.142 GB, free: 175.9 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2879/9.939, allocations: 78.77 MB / 2.219 GB, free: 96.77 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03139/9.971, allocations: 1.168 MB / 2.22 GB, free: 95.61 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005128/9.976, allocations: 0.7818 MB / 2.221 GB, free: 94.83 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/9.976, allocations: 5.25 kB / 2.221 GB, free: 94.82 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.954/11.93, allocations: 122.4 MB / 2.34 GB, free: 444.1 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001586/11.93, allocations: 51.88 kB / 2.34 GB, free: 444.1 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396/13.33, allocations: 143.3 MB / 2.48 GB, free: 341.7 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0249/13.35, allocations: 1.967 MB / 2.482 GB, free: 339.8 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.323/13.67, allocations: 82.7 MB / 2.563 GB, free: 257.1 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04241/13.72, allocations: 1.158 MB / 2.564 GB, free: 255.9 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006463/13.72, allocations: 0.7568 MB / 2.565 GB, free: 255.2 MB / 1.089 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * 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 (767): * Single equations (assignments): 753 * 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 {(28,89.3%) 28} * Non-linear torn systems: 2 {5 80,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.02235/13.75, allocations: 3.332 MB / 2.568 GB, free: 251.9 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009674/13.76, allocations: 1.271 MB / 2.569 GB, free: 251.3 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4198/14.18, allocations: 48.94 MB / 2.617 GB, free: 202.4 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001849/14.18, allocations: 72 kB / 2.617 GB, free: 202.4 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003007/14.18, allocations: 28 kB / 2.617 GB, free: 202.3 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3493/14.53, allocations: 43.32 MB / 2.66 GB, free: 158.9 MB / 1.089 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.3968/14.92, allocations: 63.75 MB / 2.722 GB, free: 95.18 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001194/14.92, allocations: 11.94 kB / 2.722 GB, free: 95.17 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01357/14.94, allocations: 1.326 MB / 2.723 GB, free: 93.84 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3366/15.27, allocations: 42.76 MB / 2.765 GB, free: 51.04 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002765/15.28, allocations: 203.9 kB / 2.765 GB, free: 50.84 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7873/16.06, allocations: 35.56 MB / 2.8 GB, free: 454.9 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-05/16.06, allocations: 12.44 kB / 2.8 GB, free: 454.9 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3643/16.43, allocations: 55.8 MB / 2.854 GB, free: 449.1 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01322/16.44, allocations: 2.813 MB / 2.857 GB, free: 448.4 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007303/16.45, allocations: 133.7 kB / 2.857 GB, free: 448.3 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02421/16.47, allocations: 0.9911 MB / 2.858 GB, free: 448.2 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003998/16.48, allocations: 0.4934 MB / 2.859 GB, free: 448.1 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003308/16.48, allocations: 288.8 kB / 2.859 GB, free: 448.1 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.03674/16.52, allocations: 8.808 MB / 2.867 GB, free: 445.2 MB / 1.089 GB Notification: Performance of sort global known variables: time 1.522e-06/16.52, allocations: 0 / 2.867 GB, free: 445.2 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.08282/16.6, allocations: 7.279 MB / 2.875 GB, free: 443.4 MB / 1.089 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 8 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U) * 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 (541): * Single equations (assignments): 519 * 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 {(28,89.3%) 28} * Non-linear torn systems: 3 {9 78,5 80,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.007237/16.61, allocations: 1.529 MB / 2.876 GB, free: 442.4 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.1429/16.75, allocations: 37.08 MB / 2.912 GB, free: 411.8 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 1.481e-05/16.75, allocations: 4 kB / 2.912 GB, free: 411.8 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.03732/16.79, allocations: 10.48 MB / 2.922 GB, free: 402.8 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06446/16.85, allocations: 6.923 MB / 2.929 GB, free: 398 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08632/16.94, allocations: 32.92 MB / 2.961 GB, free: 368.7 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01643/16.95, allocations: 7.539 MB / 2.969 GB, free: 361.2 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.03563/16.99, allocations: 4.023 MB / 2.973 GB, free: 357.3 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01068/17, allocations: 1.046 MB / 2.974 GB, free: 356.2 MB / 1.089 GB Notification: Performance of SimCode: time 1.944e-06/17, allocations: 0 / 2.974 GB, free: 356.2 MB / 1.089 GB Notification: Performance of Templates: time 1.708/18.71, allocations: 400.2 MB / 3.365 GB, free: 431.4 MB / 1.089 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.sim & ./Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)