Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2.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.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.295/1.295, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.0009791/0.0009792, allocations: 176.4 kB / 326.5 MB, free: 2.684 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.406/1.406, allocations: 205 MB / 0.5766 GB, free: 20.98 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.0007696/0.0007696, allocations: 85.25 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003059/0.000306, allocations: 9.531 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1518, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified2): time 0.5929/0.7448, allocations: 353.7 MB / 1.242 GB, free: 14.83 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.09829/0.8431, allocations: 77.78 MB / 1.318 GB, free: 0.8672 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01312/0.8562, allocations: 389.2 kB / 1.318 GB, free: 496 kB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.01455/0.8708, allocations: 4.818 MB / 1.323 GB, free: 11.64 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.03631/0.9072, allocations: 12.4 MB / 1.335 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.02657/0.9337, allocations: 11.66 MB / 1.347 GB, free: 3.586 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.04885/0.9826, allocations: 49.4 MB / 1.395 GB, free: 2.035 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.8158/1.798, allocations: 17.37 MB / 1.412 GB, free: 21.5 MB / 0.9012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02849/1.827, allocations: 14.5 MB / 1.426 GB, free: 21.48 MB / 0.9012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02519/1.852, allocations: 15.43 MB / 1.441 GB, free: 19.27 MB / 0.9012 GB Notification: Performance of NFPackage.collectConstants: time 0.006863/1.859, allocations: 1.064 MB / 1.442 GB, free: 19.27 MB / 0.9012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01714/1.876, allocations: 4.852 MB / 1.447 GB, free: 19.26 MB / 0.9012 GB Notification: Performance of NFScalarize.scalarize: time 0.008331/1.885, allocations: 5.047 MB / 1.452 GB, free: 18.56 MB / 0.9012 GB Notification: Performance of NFVerifyModel.verify: time 0.01768/1.902, allocations: 9.504 MB / 1.461 GB, free: 15.75 MB / 0.9012 GB Notification: Performance of NFConvertDAE.convert: time 0.0325/1.935, allocations: 28.15 MB / 1.489 GB, free: 12.07 MB / 0.9012 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/1.935, allocations: 0 / 1.489 GB, free: 12.07 MB / 0.9012 GB Notification: Performance of FrontEnd: time 2.003e-06/1.935, allocations: 0 / 1.489 GB, free: 12.07 MB / 0.9012 GB Notification: Performance of Transformations before backend: time 0.0007939/1.936, allocations: 0 / 1.489 GB, free: 12.07 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: 2061 * Number of variables: 2061 Notification: Performance of Generate backend data structure: time 0.0428/1.978, allocations: 20.49 MB / 1.509 GB, free: 1.984 MB / 0.9012 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/1.979, allocations: 7.5 kB / 1.509 GB, free: 1.984 MB / 0.9012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0109/1.989, allocations: 2.381 MB / 1.511 GB, free: 0.8047 MB / 0.9012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02833/2.018, allocations: 15.71 MB / 1.526 GB, free: 10.98 MB / 0.9168 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005848/2.018, allocations: 0.72 MB / 1.527 GB, free: 10.96 MB / 0.9168 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004286/2.023, allocations: 0.9975 MB / 1.528 GB, free: 10.93 MB / 0.9168 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03462/2.057, allocations: 17.27 MB / 1.545 GB, free: 5.129 MB / 0.9168 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002355/2.058, allocations: 21.72 kB / 1.545 GB, free: 5.125 MB / 0.9168 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001923/2.06, allocations: 351 kB / 1.545 GB, free: 5.125 MB / 0.9168 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000134/2.06, allocations: 215.5 kB / 1.545 GB, free: 5.121 MB / 0.9168 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03166/2.091, allocations: 20.57 MB / 1.565 GB, free: 12.71 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 removeSimpleEquations (simulation): time 0.1309/2.222, allocations: 82.25 MB / 1.646 GB, free: 4.871 MB / 0.9949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01883/2.241, allocations: 12.57 MB / 1.658 GB, free: 8.48 MB / 1.011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0133/2.254, allocations: 9.493 MB / 1.667 GB, free: 14.97 MB / 1.026 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.06485/2.319, allocations: 35.45 MB / 1.702 GB, free: 11.2 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01346/2.333, allocations: 9.732 MB / 1.711 GB, free: 1.398 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0262/2.359, allocations: 10 MB / 1.721 GB, free: 7.535 MB / 1.073 GB Notification: Performance of pre-optimization done (n=576): time 2.237e-05/2.359, allocations: 0 / 1.721 GB, free: 7.535 MB / 1.073 GB Notification: Performance of matching and sorting (n=804): time 1.441/3.801, allocations: 207.5 MB / 1.924 GB, free: 456.9 MB / 1.136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004765/3.801, allocations: 2.58 MB / 1.926 GB, free: 453.7 MB / 1.136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02171/3.823, allocations: 15.59 MB / 1.942 GB, free: 438.3 MB / 1.136 GB Notification: Performance of collectPreVariables (initialization): time 0.003906/3.827, allocations: 246.5 kB / 1.942 GB, free: 438.1 MB / 1.136 GB Notification: Performance of collectInitialEqns (initialization): time 0.00635/3.833, allocations: 7.779 MB / 1.949 GB, free: 430.8 MB / 1.136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0043/3.837, allocations: 2.795 MB / 1.952 GB, free: 428.2 MB / 1.136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002654/3.84, allocations: 1.036 MB / 1.953 GB, free: 427.1 MB / 1.136 GB Notification: Performance of setup shared object (initialization): time 4.128e-05/3.84, allocations: 305.1 kB / 1.954 GB, free: 426.8 MB / 1.136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01569/3.856, allocations: 11.61 MB / 1.965 GB, free: 415.2 MB / 1.136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01895/3.875, allocations: 15.06 MB / 1.98 GB, free: 398.8 MB / 1.136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0374/3.912, allocations: 25.44 MB / 2.004 GB, free: 372.6 MB / 1.136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.015e-05/3.912, allocations: 16 kB / 2.004 GB, free: 372.6 MB / 1.136 GB Notification: Performance of matching and sorting (n=1416) (initialization): time 0.5345/4.447, allocations: 129.9 MB / 2.131 GB, free: 242.4 MB / 1.136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007318/4.448, allocations: 1.738 MB / 2.133 GB, free: 239.9 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00019/4.448, allocations: 107.9 kB / 2.133 GB, free: 239.8 MB / 1.136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5689/5.017, allocations: 144.7 MB / 2.274 GB, free: 94.96 MB / 1.136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01294/5.03, allocations: 2.625 MB / 2.277 GB, free: 92.34 MB / 1.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4944/5.524, allocations: 80.93 MB / 2.356 GB, free: 488.2 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02014/5.544, allocations: 1.289 MB / 2.357 GB, free: 488.2 MB / 1.136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004897/5.549, allocations: 0.8734 MB / 2.358 GB, free: 488.2 MB / 1.136 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/5.549, allocations: 3.5 kB / 2.358 GB, free: 488.2 MB / 1.136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5495/6.099, allocations: 126.9 MB / 2.482 GB, free: 443.5 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002897/6.099, allocations: 107.9 kB / 2.482 GB, free: 443.4 MB / 1.136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5629/6.662, allocations: 144.3 MB / 2.623 GB, free: 298.9 MB / 1.136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01138/6.673, allocations: 2.582 MB / 2.626 GB, free: 296.3 MB / 1.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1358/6.809, allocations: 84.45 MB / 2.708 GB, free: 211.7 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01825/6.828, allocations: 1.288 MB / 2.709 GB, free: 210.5 MB / 1.136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003916/6.831, allocations: 0.8333 MB / 2.71 GB, free: 209.7 MB / 1.136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * 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 (1054): * Single equations (assignments): 974 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 3 * 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): 8 systems {1, 1, 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): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(14,90), (14,90)} Notification: Performance of prepare postOptimizeDAE: time 0.01189/6.843, allocations: 4.259 MB / 2.714 GB, free: 205.4 MB / 1.136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00917/6.853, allocations: 1.541 MB / 2.716 GB, free: 204.7 MB / 1.136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1816/7.034, allocations: 52.07 MB / 2.767 GB, free: 152.7 MB / 1.136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.162/7.196, allocations: 46.05 MB / 2.812 GB, free: 106.6 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.36e-05/7.196, allocations: 0 / 2.812 GB, free: 106.6 MB / 1.136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01077/7.207, allocations: 3.158 MB / 2.815 GB, free: 103.4 MB / 1.136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004759/7.212, allocations: 275.9 kB / 2.815 GB, free: 103.1 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01295/7.225, allocations: 1.114 MB / 2.816 GB, free: 102 MB / 1.136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004329/7.229, allocations: 1.056 MB / 2.817 GB, free: 101 MB / 1.136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05893/7.288, allocations: 27.23 MB / 2.844 GB, free: 73.91 MB / 1.136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.04484/7.333, allocations: 30.02 MB / 2.873 GB, free: 43.82 MB / 1.136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.012/7.345, allocations: 9.398 MB / 2.882 GB, free: 34.42 MB / 1.136 GB Notification: Performance of sorting global known variables: time 0.01519/7.36, allocations: 10.6 MB / 2.892 GB, free: 23.91 MB / 1.136 GB Notification: Performance of Backend: time 6.41e-07/7.36, allocations: 0 / 2.892 GB, free: 23.91 MB / 1.136 GB Notification: Performance of simCode: created initialization part: time 0.4401/7.8, allocations: 39.35 MB / 2.931 GB, free: 0.491 GB / 1.136 GB Notification: Performance of SimCode: time 0.06818/7.869, allocations: 44.62 MB / 2.974 GB, free: 482.3 MB / 1.136 GB Notification: Performance of Templates: time 0.8708/8.74, allocations: 476.9 MB / 3.44 GB, free: 0.4895 GB / 1.136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe 2>&1)