Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1.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.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.357/1.357, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.0009333/0.0009333, allocations: 174.5 kB / 326.5 MB, free: 2.699 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.409/1.409, allocations: 205 MB / 0.5767 GB, free: 20.96 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.0007188/0.0007188, allocations: 103.7 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002928/0.0002929, allocations: 8.375 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.152, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified1): time 0.5945/0.7466, allocations: 353.7 MB / 1.242 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.09547/0.8421, allocations: 77.76 MB / 1.318 GB, free: 0.9336 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01457/0.8567, allocations: 389.2 kB / 1.318 GB, free: 0.5508 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.01577/0.8725, allocations: 4.818 MB / 1.323 GB, free: 11.71 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0347/0.9073, allocations: 12.4 MB / 1.335 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.02614/0.9334, allocations: 11.68 MB / 1.347 GB, free: 3.637 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.04877/0.9822, allocations: 49.39 MB / 1.395 GB, free: 2.09 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.8264/1.809, allocations: 17.37 MB / 1.412 GB, free: 21.37 MB / 0.9012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02963/1.838, allocations: 14.49 MB / 1.426 GB, free: 21.35 MB / 0.9012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02647/1.865, allocations: 15.43 MB / 1.441 GB, free: 19.14 MB / 0.9012 GB Notification: Performance of NFPackage.collectConstants: time 0.007327/1.872, allocations: 1.063 MB / 1.442 GB, free: 19.14 MB / 0.9012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01822/1.89, allocations: 4.858 MB / 1.447 GB, free: 19.14 MB / 0.9012 GB Notification: Performance of NFScalarize.scalarize: time 0.009213/1.9, allocations: 5.042 MB / 1.452 GB, free: 18.44 MB / 0.9012 GB Notification: Performance of NFVerifyModel.verify: time 0.01967/1.919, allocations: 9.499 MB / 1.461 GB, free: 15.63 MB / 0.9012 GB Notification: Performance of NFConvertDAE.convert: time 0.03876/1.958, allocations: 28.15 MB / 1.489 GB, free: 11.95 MB / 0.9012 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/1.958, allocations: 0 / 1.489 GB, free: 11.95 MB / 0.9012 GB Notification: Performance of FrontEnd: time 2.134e-06/1.958, allocations: 0 / 1.489 GB, free: 11.95 MB / 0.9012 GB Notification: Performance of Transformations before backend: time 0.00101/1.959, allocations: 0 / 1.489 GB, free: 11.95 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.04629/2.006, allocations: 20.49 MB / 1.509 GB, free: 1.883 MB / 0.9012 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/2.006, allocations: 10.62 kB / 1.509 GB, free: 1.883 MB / 0.9012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01409/2.02, allocations: 2.376 MB / 1.511 GB, free: 0.7031 MB / 0.9012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03091/2.051, allocations: 15.7 MB / 1.526 GB, free: 10.82 MB / 0.9168 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005689/2.051, allocations: 0.7198 MB / 1.527 GB, free: 10.8 MB / 0.9168 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004252/2.056, allocations: 0.9956 MB / 1.528 GB, free: 10.78 MB / 0.9168 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03602/2.092, allocations: 17.27 MB / 1.545 GB, free: 4.973 MB / 0.9168 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003484/2.092, allocations: 16.56 kB / 1.545 GB, free: 4.969 MB / 0.9168 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002921/2.095, allocations: 352.1 kB / 1.545 GB, free: 4.969 MB / 0.9168 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001606/2.095, allocations: 217 kB / 1.545 GB, free: 4.965 MB / 0.9168 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03396/2.129, allocations: 20.57 MB / 1.565 GB, free: 12.62 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.1432/2.272, allocations: 82.21 MB / 1.646 GB, free: 4.879 MB / 0.9949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02145/2.294, allocations: 12.58 MB / 1.658 GB, free: 8.488 MB / 1.011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01555/2.309, allocations: 9.493 MB / 1.667 GB, free: 14.98 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.07489/2.384, allocations: 35.44 MB / 1.702 GB, free: 11.22 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01781/2.402, allocations: 9.73 MB / 1.711 GB, free: 1.418 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02813/2.43, allocations: 10 MB / 1.721 GB, free: 7.555 MB / 1.073 GB Notification: Performance of pre-optimization done (n=576): time 3.049e-05/2.43, allocations: 4 kB / 1.721 GB, free: 7.551 MB / 1.073 GB Notification: Performance of matching and sorting (n=804): time 1.456/3.887, allocations: 205.5 MB / 1.922 GB, free: 458.8 MB / 1.136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000518/3.887, allocations: 2.576 MB / 1.924 GB, free: 455.7 MB / 1.136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02783/3.915, allocations: 15.59 MB / 1.94 GB, free: 440.3 MB / 1.136 GB Notification: Performance of collectPreVariables (initialization): time 0.003924/3.919, allocations: 256.6 kB / 1.94 GB, free: 440 MB / 1.136 GB Notification: Performance of collectInitialEqns (initialization): time 0.007343/3.927, allocations: 7.773 MB / 1.947 GB, free: 432.7 MB / 1.136 GB Notification: Performance of collectInitialBindings (initialization): time 0.004671/3.931, allocations: 2.795 MB / 1.95 GB, free: 430.1 MB / 1.136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003807/3.935, allocations: 1.039 MB / 1.951 GB, free: 429.1 MB / 1.136 GB Notification: Performance of setup shared object (initialization): time 4.332e-05/3.935, allocations: 301.1 kB / 1.951 GB, free: 428.8 MB / 1.136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01832/3.953, allocations: 11.61 MB / 1.963 GB, free: 417.2 MB / 1.136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02143/3.975, allocations: 15.06 MB / 1.977 GB, free: 400.8 MB / 1.136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04064/4.016, allocations: 25.43 MB / 2.002 GB, free: 374.5 MB / 1.136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.817e-05/4.016, allocations: 20 kB / 2.002 GB, free: 374.5 MB / 1.136 GB Notification: Performance of matching and sorting (n=1416) (initialization): time 0.539/4.555, allocations: 129.8 MB / 2.129 GB, free: 244.5 MB / 1.136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006355/4.555, allocations: 1.72 MB / 2.131 GB, free: 242 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001784/4.556, allocations: 107.9 kB / 2.131 GB, free: 241.9 MB / 1.136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5651/5.121, allocations: 145.5 MB / 2.273 GB, free: 96.21 MB / 1.136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01251/5.133, allocations: 2.634 MB / 2.276 GB, free: 93.58 MB / 1.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5114/5.645, allocations: 81.26 MB / 2.355 GB, free: 488.6 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01921/5.664, allocations: 1.259 MB / 2.356 GB, free: 488.6 MB / 1.136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00521/5.669, allocations: 0.8744 MB / 2.357 GB, free: 488.6 MB / 1.136 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/5.669, allocations: 4.188 kB / 2.357 GB, free: 488.6 MB / 1.136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.539/6.208, allocations: 126.8 MB / 2.481 GB, free: 443.8 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003167/6.209, allocations: 100.8 kB / 2.481 GB, free: 443.7 MB / 1.136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5566/6.765, allocations: 144.5 MB / 2.622 GB, free: 299.1 MB / 1.136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01138/6.777, allocations: 2.582 MB / 2.625 GB, free: 296.5 MB / 1.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1486/6.925, allocations: 84.81 MB / 2.707 GB, free: 211.6 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01823/6.943, allocations: 1.25 MB / 2.709 GB, free: 210.4 MB / 1.136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004146/6.948, allocations: 0.8448 MB / 2.709 GB, free: 209.5 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 {(39,65), (39,65)} Notification: Performance of prepare postOptimizeDAE: time 0.01461/6.962, allocations: 4.255 MB / 2.714 GB, free: 205.3 MB / 1.136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0078/6.97, allocations: 1.54 MB / 2.715 GB, free: 204.5 MB / 1.136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1817/7.152, allocations: 52.03 MB / 2.766 GB, free: 152.6 MB / 1.136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1657/7.318, allocations: 46.01 MB / 2.811 GB, free: 106.5 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.632e-05/7.318, allocations: 0 / 2.811 GB, free: 106.5 MB / 1.136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01064/7.328, allocations: 3.168 MB / 2.814 GB, free: 103.3 MB / 1.136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005875/7.334, allocations: 279.9 kB / 2.814 GB, free: 103 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01409/7.348, allocations: 1.091 MB / 2.815 GB, free: 101.9 MB / 1.136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005239/7.354, allocations: 1.06 MB / 2.816 GB, free: 100.9 MB / 1.136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.06238/7.416, allocations: 27.03 MB / 2.843 GB, free: 74.01 MB / 1.136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.04947/7.465, allocations: 30 MB / 2.872 GB, free: 43.95 MB / 1.136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01329/7.479, allocations: 9.382 MB / 2.881 GB, free: 34.56 MB / 1.136 GB Notification: Performance of sorting global known variables: time 0.01754/7.496, allocations: 10.6 MB / 2.891 GB, free: 24.05 MB / 1.136 GB Notification: Performance of Backend: time 8.22e-07/7.496, allocations: 0 / 2.891 GB, free: 24.05 MB / 1.136 GB Notification: Performance of simCode: created initialization part: time 0.4678/7.964, allocations: 40.53 MB / 2.931 GB, free: 0.4911 GB / 1.136 GB Notification: Performance of SimCode: time 0.08/8.044, allocations: 44.94 MB / 2.975 GB, free: 482.3 MB / 1.136 GB Notification: Performance of Templates: time 0.5619/8.606, allocations: 471.8 MB / 3.436 GB, free: 29.97 MB / 1.136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe 2>&1)