Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.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.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.393/1.393, allocations: 252 MB / 267.6 MB, free: 10.97 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.001084/0.001084, allocations: 191.6 kB / 327.3 MB, free: 2.223 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.899/1.899, 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.0009203/0.0009202, allocations: 93.7 kB / 0.6829 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003135/0.0003134, allocations: 9.594 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.217, allocations: 106.3 MB / 0.9008 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified5): time 0.7785/0.9956, allocations: 329.6 MB / 1.223 GB, free: 2.258 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.109/1.105, allocations: 72.84 MB / 1.294 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01796/1.123, allocations: 373.2 kB / 1.294 GB, free: 8.922 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.01382/1.136, allocations: 3.148 MB / 1.297 GB, free: 5.754 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.02963/1.166, allocations: 8.853 MB / 1.306 GB, free: 12.88 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01837/1.185, allocations: 5.96 MB / 1.312 GB, free: 6.945 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.03904/1.224, allocations: 32.54 MB / 1.343 GB, free: 6.297 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02184/1.245, allocations: 14.15 MB / 1.357 GB, free: 8.051 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02716/1.273, allocations: 11.76 MB / 1.369 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02478/1.298, allocations: 12.52 MB / 1.381 GB, free: 15.68 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.007038/1.305, allocations: 0.9688 MB / 1.382 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01557/1.32, allocations: 3.288 MB / 1.385 GB, free: 11.42 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.008578/1.329, allocations: 4.018 MB / 1.389 GB, free: 7.391 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.009269/1.338, allocations: 2.627 MB / 1.392 GB, free: 4.75 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 1.054/2.392, allocations: 17.39 MB / 1.409 GB, free: 58.02 MB / 0.9012 GB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/2.392, allocations: 4.469 kB / 1.409 GB, free: 58.02 MB / 0.9012 GB Notification: Performance of FrontEnd: time 2.625e-06/2.392, allocations: 0 / 1.409 GB, free: 58.02 MB / 0.9012 GB Notification: Performance of Transformations before backend: time 0.0008984/2.393, allocations: 3.094 kB / 1.409 GB, free: 58.02 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: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.05618/2.449, allocations: 17.07 MB / 1.425 GB, free: 52.62 MB / 0.9012 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/2.449, allocations: 7.969 kB / 1.425 GB, free: 52.62 MB / 0.9012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0154/2.465, allocations: 2.374 MB / 1.428 GB, free: 51.84 MB / 0.9012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03349/2.498, allocations: 12.08 MB / 1.439 GB, free: 50.14 MB / 0.9012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001939/2.5, allocations: 0.7835 MB / 1.44 GB, free: 50.13 MB / 0.9012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00567/2.506, allocations: 0.6863 MB / 1.441 GB, free: 50.13 MB / 0.9012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.041/2.547, allocations: 13.98 MB / 1.455 GB, free: 49.57 MB / 0.9012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003294/2.547, allocations: 8.156 kB / 1.455 GB, free: 49.57 MB / 0.9012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004546/2.552, allocations: 243 kB / 1.455 GB, free: 49.57 MB / 0.9012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001742/2.552, allocations: 147.7 kB / 1.455 GB, free: 49.57 MB / 0.9012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03932/2.591, allocations: 18.94 MB / 1.473 GB, free: 49.47 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.1304/2.722, allocations: 73.29 MB / 1.545 GB, free: 9.074 MB / 0.9012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01726/2.739, allocations: 10.55 MB / 1.555 GB, free: 5.582 MB / 0.9012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01391/2.753, allocations: 9.113 MB / 1.564 GB, free: 236 kB / 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 evalFunc (simulation): time 0.08215/2.835, allocations: 31.79 MB / 1.595 GB, free: 7.57 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01831/2.854, allocations: 8.845 MB / 1.604 GB, free: 1.59 MB / 0.9324 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03367/2.887, allocations: 9.951 MB / 1.614 GB, free: 8.328 MB / 0.948 GB Notification: Performance of pre-optimization done (n=387): time 4.145e-05/2.887, allocations: 4 kB / 1.614 GB, free: 8.324 MB / 0.948 GB Notification: Performance of matching and sorting (n=573): time 1.533/4.421, allocations: 217.5 MB / 1.826 GB, free: 0.4893 GB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.636e-05/4.421, allocations: 111 kB / 1.826 GB, free: 0.4892 GB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02296/4.444, allocations: 12.28 MB / 1.838 GB, free: 497.8 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.004792/4.449, allocations: 177 kB / 1.838 GB, free: 497.7 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.007974/4.457, allocations: 5.944 MB / 1.844 GB, free: 494.1 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.005562/4.462, allocations: 1.931 MB / 1.846 GB, free: 493.8 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004047/4.466, allocations: 141.6 kB / 1.846 GB, free: 493.7 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.000644/4.467, allocations: 0.5984 MB / 1.847 GB, free: 493.2 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01821/4.485, allocations: 9.169 MB / 1.856 GB, free: 489.9 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02153/4.507, allocations: 11.49 MB / 1.867 GB, free: 483.2 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02278/4.53, allocations: 10.01 MB / 1.877 GB, free: 477.8 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.272e-05/4.53, allocations: 14.22 kB / 1.877 GB, free: 477.8 MB / 1.104 GB Notification: Performance of matching and sorting (n=954) (initialization): time 0.6726/5.202, allocations: 138.9 MB / 2.012 GB, free: 342.2 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.001017/5.203, allocations: 1.535 MB / 2.014 GB, free: 340 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001003/5.204, allocations: 48 kB / 2.014 GB, free: 339.9 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7403/5.944, allocations: 166 MB / 2.176 GB, free: 173.7 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01145/5.955, allocations: 1.866 MB / 2.178 GB, free: 171.8 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2269/6.182, allocations: 95.32 MB / 2.271 GB, free: 76.1 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0234/6.206, allocations: 1.129 MB / 2.272 GB, free: 75 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005864/6.212, allocations: 0.7707 MB / 2.273 GB, free: 74.23 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/6.212, allocations: 4.781 kB / 2.273 GB, free: 74.22 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.384/7.596, allocations: 137.8 MB / 2.407 GB, free: 461 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002583/7.596, allocations: 47.44 kB / 2.407 GB, free: 461 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7017/8.298, allocations: 165.9 MB / 2.569 GB, free: 305 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0101/8.308, allocations: 1.855 MB / 2.571 GB, free: 303.2 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2176/8.526, allocations: 99.35 MB / 2.668 GB, free: 203.7 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0213/8.547, allocations: 1.119 MB / 2.669 GB, free: 202.7 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005425/8.553, allocations: 0.7417 MB / 2.67 GB, free: 201.9 MB / 1.104 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 (679): * Single equations (assignments): 665 * 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 {5 80,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.01523/8.568, allocations: 3.083 MB / 2.673 GB, free: 198.9 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007566/8.576, allocations: 1.185 MB / 2.674 GB, free: 198.3 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2187/8.794, allocations: 53.14 MB / 2.726 GB, free: 145.2 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001527/8.794, allocations: 79.98 kB / 2.726 GB, free: 145.2 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002393/8.795, allocations: 32 kB / 2.726 GB, free: 145.1 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1883/8.983, allocations: 47.59 MB / 2.773 GB, free: 97.43 MB / 1.104 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.2349/9.218, allocations: 67.1 MB / 2.838 GB, free: 30.34 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001254/9.218, allocations: 4 kB / 2.838 GB, free: 30.34 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01209/9.23, allocations: 1.288 MB / 2.839 GB, free: 29.05 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.7092/9.94, allocations: 49.25 MB / 2.887 GB, free: 465.2 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002426/9.942, allocations: 201.8 kB / 2.888 GB, free: 465.2 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08285/10.02, allocations: 41.38 MB / 2.928 GB, free: 455.8 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.224e-05/10.02, allocations: 14.25 kB / 2.928 GB, free: 455.8 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2078/10.23, allocations: 59.9 MB / 2.987 GB, free: 411 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009083/10.24, allocations: 2.677 MB / 2.989 GB, free: 408.8 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005367/10.25, allocations: 128 kB / 2.989 GB, free: 408.7 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01402/10.26, allocations: 0.9478 MB / 2.99 GB, free: 407.8 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003251/10.26, allocations: 0.4888 MB / 2.991 GB, free: 407.3 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002754/10.27, allocations: 271.8 kB / 2.991 GB, free: 407.1 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.01671/10.28, allocations: 8.327 MB / 2.999 GB, free: 398.8 MB / 1.104 GB Notification: Performance of sort global known variables: time 4.81e-07/10.28, allocations: 0 / 2.999 GB, free: 398.8 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.04016/10.32, allocations: 6.827 MB / 3.006 GB, free: 392.1 MB / 1.104 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.003956/10.33, allocations: 1.26 MB / 3.007 GB, free: 391.1 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.07817/10.41, allocations: 37.54 MB / 3.044 GB, free: 353.7 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/10.41, allocations: 4 kB / 3.044 GB, free: 353.7 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.02113/10.43, allocations: 10.65 MB / 3.054 GB, free: 343.1 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03109/10.46, allocations: 6.37 MB / 3.06 GB, free: 337.2 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04296/10.5, allocations: 30.8 MB / 3.09 GB, free: 306.8 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005614/10.51, allocations: 6.895 MB / 3.097 GB, free: 300 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004316/10.51, allocations: 1.011 MB / 3.098 GB, free: 298.9 MB / 1.104 GB Notification: Performance of SimCode: time 1.292e-06/10.51, allocations: 3.938 kB / 3.098 GB, free: 298.9 MB / 1.104 GB Notification: Performance of Templates: time 1.176/11.69, allocations: 0.7607 GB / 3.859 GB, free: 41.96 MB / 1.104 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)