Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.52/1.52, allocations: 252 MB / 267.6 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 178.6 kB / 327.3 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.936/1.936, allocations: 205.4 MB / 0.5783 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007226/0.0007226, allocations: 78.38 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003361/0.000336, allocations: 7.594 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2341, allocations: 106.3 MB / 0.9008 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified4): time 0.8301/1.064, allocations: 329.5 MB / 1.223 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.113/1.177, allocations: 72.85 MB / 1.294 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01935/1.197, allocations: 369.2 kB / 1.294 GB, free: 8.844 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.01604/1.213, allocations: 3.564 MB / 1.298 GB, free: 5.258 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0429/1.256, allocations: 10.34 MB / 1.308 GB, free: 10.88 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.02558/1.281, allocations: 6.866 MB / 1.314 GB, free: 4.039 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0529/1.334, allocations: 38.14 MB / 1.352 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02826/1.363, allocations: 14.9 MB / 1.366 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03532/1.398, allocations: 12.81 MB / 1.379 GB, free: 1.91 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03179/1.43, allocations: 13.49 MB / 1.392 GB, free: 4.375 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.008393/1.438, allocations: 0.9961 MB / 1.393 GB, free: 3.379 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.295/2.733, allocations: 3.746 MB / 1.397 GB, free: 44.98 MB / 0.9012 GB Notification: Performance of NFScalarize.scalarize: time 0.01576/2.749, allocations: 4.232 MB / 1.401 GB, free: 44.98 MB / 0.9012 GB Notification: Performance of NFVerifyModel.verify: time 0.0131/2.762, allocations: 2.929 MB / 1.404 GB, free: 44.95 MB / 0.9012 GB Notification: Performance of NFConvertDAE.convert: time 0.03759/2.8, allocations: 19.26 MB / 1.422 GB, free: 44.34 MB / 0.9012 GB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/2.8, allocations: 0 / 1.422 GB, free: 44.34 MB / 0.9012 GB Notification: Performance of FrontEnd: time 3.747e-06/2.8, allocations: 0 / 1.422 GB, free: 44.34 MB / 0.9012 GB Notification: Performance of Transformations before backend: time 0.001544/2.802, allocations: 0 / 1.422 GB, free: 44.34 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.06376/2.865, allocations: 18.15 MB / 1.44 GB, free: 38.09 MB / 0.9012 GB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/2.865, allocations: 9.781 kB / 1.44 GB, free: 38.09 MB / 0.9012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01508/2.881, allocations: 2.299 MB / 1.442 GB, free: 37.24 MB / 0.9012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03683/2.917, allocations: 13.37 MB / 1.455 GB, free: 35.36 MB / 0.9012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001444/2.919, allocations: 0.7272 MB / 1.456 GB, free: 35.34 MB / 0.9012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006179/2.925, allocations: 0.7921 MB / 1.457 GB, free: 35.33 MB / 0.9012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05174/2.977, allocations: 14.83 MB / 1.471 GB, free: 34.59 MB / 0.9012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004565/2.977, allocations: 13.58 kB / 1.471 GB, free: 34.59 MB / 0.9012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005995/2.983, allocations: 284.1 kB / 1.472 GB, free: 34.59 MB / 0.9012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003078/2.984, allocations: 194.1 kB / 1.472 GB, free: 34.59 MB / 0.9012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04563/3.029, allocations: 19.29 MB / 1.491 GB, free: 34.51 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.154/3.183, allocations: 77.4 MB / 1.566 GB, free: 7.246 MB / 0.9168 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01832/3.202, allocations: 10.55 MB / 1.577 GB, free: 3.582 MB / 0.9168 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01766/3.22, allocations: 9.104 MB / 1.585 GB, free: 14.27 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.081/3.301, allocations: 32.63 MB / 1.617 GB, free: 4.887 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0188/3.319, allocations: 8.783 MB / 1.626 GB, free: 14.99 MB / 0.9637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03379/3.353, allocations: 9.84 MB / 1.635 GB, free: 5.832 MB / 0.9637 GB Notification: Performance of pre-optimization done (n=421): time 5.047e-05/3.353, allocations: 0 / 1.635 GB, free: 5.832 MB / 0.9637 GB Notification: Performance of matching and sorting (n=605): time 1.439/4.792, allocations: 195.1 MB / 1.826 GB, free: 477 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.818e-05/4.793, allocations: 111.6 kB / 1.826 GB, free: 477 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03063/4.823, allocations: 13.03 MB / 1.839 GB, free: 472.5 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.004445/4.828, allocations: 183 kB / 1.839 GB, free: 472.4 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.0134/4.841, allocations: 6.599 MB / 1.845 GB, free: 467.9 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.007894/4.849, allocations: 2.045 MB / 1.847 GB, free: 467.3 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005077/4.854, allocations: 157.6 kB / 1.848 GB, free: 467.2 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.001103/4.855, allocations: 0.6151 MB / 1.848 GB, free: 466.7 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03173/4.887, allocations: 9.146 MB / 1.857 GB, free: 461.6 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03686/4.924, allocations: 11.66 MB / 1.868 GB, free: 453.5 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03444/4.959, allocations: 10.07 MB / 1.878 GB, free: 446.6 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001253/4.959, allocations: 16 kB / 1.878 GB, free: 446.5 MB / 1.089 GB Notification: Performance of matching and sorting (n=1027) (initialization): time 0.702/5.661, allocations: 123.5 MB / 1.999 GB, free: 322.8 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.001033/5.662, allocations: 1.735 MB / 2.001 GB, free: 320.3 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001143/5.662, allocations: 55.98 kB / 2.001 GB, free: 320.3 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.612/6.274, allocations: 143.5 MB / 2.141 GB, free: 176.6 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01156/6.286, allocations: 1.993 MB / 2.143 GB, free: 174.6 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1438/6.43, allocations: 78.76 MB / 2.22 GB, free: 95.45 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02255/6.452, allocations: 1.181 MB / 2.221 GB, free: 94.28 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004899/6.457, allocations: 0.7841 MB / 2.222 GB, free: 93.49 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/6.457, allocations: 4 kB / 2.222 GB, free: 93.49 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.051/7.508, allocations: 122.4 MB / 2.341 GB, free: 441.8 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000161/7.508, allocations: 49.88 kB / 2.341 GB, free: 441.8 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6083/8.117, allocations: 143.3 MB / 2.481 GB, free: 339.8 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01023/8.127, allocations: 1.965 MB / 2.483 GB, free: 337.9 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1512/8.278, allocations: 82.7 MB / 2.564 GB, free: 255.1 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0201/8.299, allocations: 1.159 MB / 2.565 GB, free: 254 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004622/8.303, allocations: 0.7536 MB / 2.566 GB, free: 253.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.01295/8.316, allocations: 3.333 MB / 2.569 GB, free: 249.9 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005303/8.321, allocations: 1.28 MB / 2.57 GB, free: 249.3 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1935/8.515, allocations: 48.91 MB / 2.618 GB, free: 200.5 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001607/8.515, allocations: 72 kB / 2.618 GB, free: 200.4 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001334/8.515, allocations: 28 kB / 2.618 GB, free: 200.4 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2452/8.761, allocations: 43.3 MB / 2.66 GB, free: 157 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.2143/8.975, allocations: 63.73 MB / 2.723 GB, free: 93.29 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-05/8.975, allocations: 4 kB / 2.723 GB, free: 93.29 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00739/8.982, allocations: 1.323 MB / 2.724 GB, free: 91.96 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1746/9.157, allocations: 42.77 MB / 2.766 GB, free: 49.14 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003254/9.16, allocations: 203.9 kB / 2.766 GB, free: 48.94 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7563/9.917, allocations: 35.57 MB / 2.801 GB, free: 451.5 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.284e-05/9.917, allocations: 6.484 kB / 2.801 GB, free: 451.5 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2176/10.13, allocations: 55.78 MB / 2.855 GB, free: 445.3 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01578/10.15, allocations: 2.817 MB / 2.858 GB, free: 444.6 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01085/10.16, allocations: 136.9 kB / 2.858 GB, free: 444.5 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01918/10.18, allocations: 0.986 MB / 2.859 GB, free: 444.4 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003979/10.18, allocations: 496.4 kB / 2.859 GB, free: 444.4 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002675/10.19, allocations: 289.8 kB / 2.86 GB, free: 444.3 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.02424/10.21, allocations: 8.807 MB / 2.868 GB, free: 441.4 MB / 1.089 GB Notification: Performance of sort global known variables: time 5.11e-07/10.21, allocations: 0 / 2.868 GB, free: 441.4 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.06394/10.28, allocations: 7.28 MB / 2.875 GB, free: 440.8 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.007604/10.28, allocations: 1.53 MB / 2.877 GB, free: 439.8 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.0998/10.38, allocations: 37.07 MB / 2.913 GB, free: 409.2 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 2.342e-05/10.38, allocations: 4 kB / 2.913 GB, free: 409.2 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.02991/10.41, allocations: 10.46 MB / 2.923 GB, free: 400.1 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05634/10.47, allocations: 6.926 MB / 2.93 GB, free: 395.3 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08196/10.55, allocations: 33.03 MB / 2.962 GB, free: 365.8 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01649/10.57, allocations: 7.348 MB / 2.969 GB, free: 358.5 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007001/10.58, allocations: 1.1 MB / 2.97 GB, free: 357.4 MB / 1.089 GB Notification: Performance of SimCode: time 1.323e-06/10.58, allocations: 4 kB / 2.97 GB, free: 357.4 MB / 1.089 GB Notification: Performance of Templates: time 2.108/12.68, allocations: 0.8278 GB / 3.798 GB, free: 432.5 MB / 1.089 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)