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.001357/0.001357, allocations: 107.2 kB / 16.36 MB, free: 6.312 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.0013/0.0013, allocations: 190.5 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.258/1.258, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.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.732/1.732, allocations: 292.3 MB / 0.5496 GB, free: 17.45 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.001408/0.001408, allocations: 71.91 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1713, allocations: 114.6 MB / 0.7848 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified6): time 0.6312/0.8025, allocations: 356.7 MB / 1.133 GB, free: 4.918 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.4988/1.301, allocations: 77.32 MB / 1.209 GB, free: 54.91 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01492/1.316, allocations: 440.9 kB / 1.209 GB, free: 54.91 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0122/1.329, allocations: 4.655 MB / 1.214 GB, free: 54.83 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.02977/1.358, allocations: 11.02 MB / 1.224 GB, free: 54.36 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.01881/1.377, allocations: 7.835 MB / 1.232 GB, free: 54.17 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.03361/1.411, allocations: 29 MB / 1.26 GB, free: 47.48 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01787/1.429, allocations: 16 MB / 1.276 GB, free: 37.96 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02404/1.453, allocations: 12.48 MB / 1.288 GB, free: 29.44 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01535/1.468, allocations: 9.745 MB / 1.298 GB, free: 20.43 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.002874/1.471, allocations: 1.039 MB / 1.299 GB, free: 19.39 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01304/1.484, allocations: 4.296 MB / 1.303 GB, free: 15.28 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.003789/1.488, allocations: 3.602 MB / 1.306 GB, free: 11.75 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.01082/1.499, allocations: 7.369 MB / 1.314 GB, free: 4.434 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.02414/1.523, allocations: 19.32 MB / 1.332 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/1.523, allocations: 0 / 1.332 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.125e-06/1.523, allocations: 4 kB / 1.332 GB, free: 1.773 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0005465/1.523, allocations: 3.938 kB / 1.332 GB, free: 1.77 MB / 0.9356 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.03551/1.559, allocations: 15.57 MB / 1.348 GB, free: 2.215 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/1.559, allocations: 12.03 kB / 1.348 GB, free: 2.203 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008291/1.567, allocations: 2.114 MB / 1.35 GB, free: 72 kB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02299/1.59, allocations: 11.79 MB / 1.361 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00045/1.591, allocations: 0.5077 MB / 1.362 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001659/1.593, allocations: 0.6871 MB / 1.362 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01463/1.607, allocations: 8.962 MB / 1.371 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001072/1.607, allocations: 19.81 kB / 1.371 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000627/1.608, allocations: 252 kB / 1.371 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000127/1.608, allocations: 152 kB / 1.372 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01374/1.622, allocations: 7.326 MB / 1.379 GB, free: 2.266 MB / 0.9825 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.06364/1.685, allocations: 49.32 MB / 1.427 GB, free: 14.13 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009247/1.695, allocations: 5.357 MB / 1.432 GB, free: 9.023 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00615/1.701, allocations: 3.845 MB / 1.436 GB, free: 5.199 MB / 1.045 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.02499/1.726, allocations: 13.15 MB / 1.449 GB, free: 7.891 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005929/1.732, allocations: 3.643 MB / 1.452 GB, free: 4.211 MB / 1.061 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005449/1.737, allocations: 1.082 MB / 1.453 GB, free: 3.152 MB / 1.061 GB Notification: Performance of pre-optimization done (n=316): time 9.869e-06/1.737, allocations: 0 / 1.453 GB, free: 3.152 MB / 1.061 GB Notification: Performance of matching and sorting (n=502): time 0.1889/1.926, allocations: 54.38 MB / 1.506 GB, free: 11.92 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.259e-05/1.926, allocations: 103.3 kB / 1.507 GB, free: 11.81 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02369/1.95, allocations: 12.69 MB / 1.519 GB, free: 15.18 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.001614/1.952, allocations: 165.7 kB / 1.519 GB, free: 15.01 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.006857/1.959, allocations: 6.133 MB / 1.525 GB, free: 8.875 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.002412/1.961, allocations: 1.696 MB / 1.527 GB, free: 7.195 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004832/1.966, allocations: 1.735 MB / 1.528 GB, free: 5.453 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 8.43e-05/1.966, allocations: 305.1 kB / 1.529 GB, free: 5.152 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01263/1.979, allocations: 5.875 MB / 1.534 GB, free: 15.27 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01539/1.994, allocations: 8.442 MB / 1.543 GB, free: 5.723 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7163/2.71, allocations: 13.65 MB / 1.556 GB, free: 499.8 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.401e-05/2.71, allocations: 16.41 kB / 1.556 GB, free: 499.8 MB / 1.154 GB Notification: Performance of matching and sorting (n=950) (initialization): time 0.04631/2.757, allocations: 18.93 MB / 1.575 GB, free: 496.9 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 8.538e-05/2.757, allocations: 64.5 kB / 1.575 GB, free: 496.8 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001085/2.757, allocations: 69.34 kB / 1.575 GB, free: 496.8 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01745/2.774, allocations: 4.864 MB / 1.579 GB, free: 496.1 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01146/2.786, allocations: 2.009 MB / 1.581 GB, free: 496 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0166/2.803, allocations: 14.43 MB / 1.596 GB, free: 486.2 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0124/2.815, allocations: 0.8129 MB / 1.596 GB, free: 486 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001917/2.817, allocations: 495.7 kB / 1.597 GB, free: 486 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01708/2.834, allocations: 8.101 MB / 1.605 GB, free: 483.3 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01345/2.848, allocations: 7.996 MB / 1.612 GB, free: 478.6 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02252/2.87, allocations: 12.76 MB / 1.625 GB, free: 472.5 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.911e-05/2.87, allocations: 18.16 kB / 1.625 GB, free: 472.5 MB / 1.154 GB Notification: Performance of matching and sorting (n=950) (initialization_lambda0): time 0.0413/2.912, allocations: 17.51 MB / 1.642 GB, free: 466 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 7.925e-05/2.912, allocations: 59.53 kB / 1.642 GB, free: 466 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.098e-05/2.912, allocations: 62.34 kB / 1.642 GB, free: 466 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01285/2.925, allocations: 4.535 MB / 1.647 GB, free: 464.2 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009528/2.934, allocations: 1.999 MB / 1.649 GB, free: 462.2 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02257/2.957, allocations: 19.15 MB / 1.667 GB, free: 442.7 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01232/2.969, allocations: 0.8409 MB / 1.668 GB, free: 441.9 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001764/2.971, allocations: 459.7 kB / 1.669 GB, free: 441.4 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 273 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,stepValve.count,$PRE.stepValve.count,stepValve.T_start,$PRE.stepValve.T_start,pumpHea.stage,stepPump.pulseStart,$PRE.stepPump.pulseStart,stepPump.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (739): * Single equations (assignments): 724 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (5,80)} Notification: Performance of prepare postOptimizeDAE: time 0.003412/2.974, allocations: 0.6178 MB / 1.669 GB, free: 440.8 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003397/2.978, allocations: 1.197 MB / 1.67 GB, free: 440.2 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03843/3.016, allocations: 15.06 MB / 1.685 GB, free: 425.2 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02965/3.046, allocations: 12.16 MB / 1.697 GB, free: 412.9 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.846e-05/3.046, allocations: 0 / 1.697 GB, free: 412.9 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006245/3.052, allocations: 2.106 MB / 1.699 GB, free: 410.8 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004468/3.057, allocations: 108 kB / 1.699 GB, free: 410.7 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01034/3.067, allocations: 0.6508 MB / 1.7 GB, free: 410.1 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001771/3.069, allocations: 0.5703 MB / 1.7 GB, free: 409.5 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03591/3.105, allocations: 13.16 MB / 1.713 GB, free: 396.4 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03582/3.141, allocations: 16.91 MB / 1.73 GB, free: 379.3 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009681/3.15, allocations: 4.895 MB / 1.734 GB, free: 374.4 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.01322/3.164, allocations: 8.614 MB / 1.743 GB, free: 365.8 MB / 1.154 GB Notification: Performance of Backend: time 9.51e-07/3.164, allocations: 3.938 kB / 1.743 GB, free: 365.8 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.04465/3.208, allocations: 18.29 MB / 1.761 GB, free: 347.8 MB / 1.154 GB Notification: Performance of SimCode: time 0.05414/3.262, allocations: 28.18 MB / 1.788 GB, free: 319.8 MB / 1.154 GB Notification: Performance of Templates: time 0.3628/3.625, allocations: 297.5 MB / 2.079 GB, free: 24.93 MB / 1.154 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.makefile (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)