Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.675/2.675, allocations: 287.3 MB / 302.3 MB, free: 8.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001618/0.001618, allocations: 182.2 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.242/2.242, allocations: 205.4 MB / 0.6295 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001142/0.001142, allocations: 80.81 kB / 0.7428 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000661/0.0006614, allocations: 16.62 kB / 0.8656 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2383, allocations: 115.3 MB / 0.9782 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.8752/1.114, allocations: 135.7 MB / 1.111 GB, free: 1.336 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.009389/1.123, allocations: 3.104 MB / 1.114 GB, free: 1.086 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006893/1.124, allocations: 9.625 kB / 1.114 GB, free: 1.082 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001335/1.125, allocations: 183.9 kB / 1.114 GB, free: 1.051 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0034/1.129, allocations: 499.8 kB / 1.114 GB, free: 1.023 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003281/1.132, allocations: 453.7 kB / 1.115 GB, free: 1.008 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00466/1.137, allocations: 1.502 MB / 1.116 GB, free: 0.9453 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002451/1.139, allocations: 0.7056 MB / 1.117 GB, free: 0.8164 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003207/1.142, allocations: 0.7032 MB / 1.118 GB, free: 0.6914 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001918/1.144, allocations: 491.1 kB / 1.118 GB, free: 0.582 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003164/1.145, allocations: 35.45 kB / 1.118 GB, free: 0.582 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002834/1.148, allocations: 410.9 kB / 1.119 GB, free: 0.5703 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0008843/1.149, allocations: 265.2 kB / 1.119 GB, free: 0.5312 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0009436/1.15, allocations: 230.5 kB / 1.119 GB, free: 16.46 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002742/1.152, allocations: 0.9734 MB / 1.12 GB, free: 16.37 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/1.152, allocations: 0 / 1.12 GB, free: 16.37 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.815e-06/1.152, allocations: 1.859 kB / 1.12 GB, free: 16.37 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.663e-05/1.152, allocations: 2.875 kB / 1.12 GB, free: 16.37 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.003806/1.156, allocations: 1.284 MB / 1.121 GB, free: 15.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/1.156, allocations: 7.375 kB / 1.121 GB, free: 15.57 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001372/1.158, allocations: 190.7 kB / 1.121 GB, free: 15.51 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002763/1.161, allocations: 0.7983 MB / 1.122 GB, free: 15.17 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.317e-05/1.161, allocations: 39.5 kB / 1.122 GB, free: 15.17 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/1.161, allocations: 59.25 kB / 1.122 GB, free: 15.17 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002123/1.163, allocations: 0.792 MB / 1.123 GB, free: 14.92 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.89e-05/1.163, allocations: 1.75 kB / 1.123 GB, free: 14.92 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/1.163, allocations: 23.06 kB / 1.123 GB, free: 14.92 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.887e-05/1.163, allocations: 14.91 kB / 1.123 GB, free: 14.92 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001773/1.165, allocations: 0.5411 MB / 1.124 GB, free: 14.89 MB / 0.698 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.007703/1.173, allocations: 4.606 MB / 1.128 GB, free: 11.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/1.174, allocations: 442.1 kB / 1.129 GB, free: 11.37 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.187e-05/1.174, allocations: 9.562 kB / 1.129 GB, free: 11.37 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008128/1.175, allocations: 304.1 kB / 1.129 GB, free: 11.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 3.407e-06/1.175, allocations: 0 / 1.129 GB, free: 11.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.007145/1.182, allocations: 1.33 MB / 1.13 GB, free: 11.02 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.51e-05/1.182, allocations: 113.2 kB / 1.13 GB, free: 10.89 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002624/1.185, allocations: 1.116 MB / 1.131 GB, free: 10.74 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001858/1.185, allocations: 39.77 kB / 1.131 GB, free: 10.71 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006415/1.186, allocations: 494.5 kB / 1.132 GB, free: 10.53 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.00022/1.186, allocations: 103.6 kB / 1.132 GB, free: 10.47 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.319e-05/1.186, allocations: 11.84 kB / 1.132 GB, free: 10.47 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001619/1.186, allocations: 323 kB / 1.132 GB, free: 10.16 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006618/1.187, allocations: 192.4 kB / 1.132 GB, free: 10.16 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001058/1.188, allocations: 0.4908 MB / 1.133 GB, free: 9.793 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008971/1.189, allocations: 293.2 kB / 1.133 GB, free: 9.738 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/1.189, allocations: 5.375 kB / 1.133 GB, free: 9.734 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00447/1.194, allocations: 0.9906 MB / 1.134 GB, free: 9.465 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001132/1.195, allocations: 2.132 MB / 1.136 GB, free: 7.219 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.281e-05/1.195, allocations: 6.531 kB / 1.136 GB, free: 7.219 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002679/1.198, allocations: 336.4 kB / 1.137 GB, free: 7.105 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004877/1.198, allocations: 71.14 kB / 1.137 GB, free: 7.086 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001861/1.2, allocations: 1.006 MB / 1.138 GB, free: 6.453 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001691/1.202, allocations: 112.2 kB / 1.138 GB, free: 6.395 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001992/1.202, allocations: 32.56 kB / 1.138 GB, free: 6.391 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/1.202, allocations: 3.75 kB / 1.138 GB, free: 6.391 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002776/1.205, allocations: 0.7309 MB / 1.139 GB, free: 6.156 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.529e-05/1.205, allocations: 5.75 kB / 1.139 GB, free: 6.156 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/1.206, allocations: 221 kB / 1.139 GB, free: 6.094 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004803/1.206, allocations: 63.22 kB / 1.139 GB, free: 6.078 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007053/1.213, allocations: 3.175 MB / 1.142 GB, free: 4.184 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001678/1.215, allocations: 94.03 kB / 1.142 GB, free: 4.141 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001537/1.215, allocations: 27.77 kB / 1.142 GB, free: 4.137 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.001188/1.217, allocations: 465.3 kB / 1.142 GB, free: 3.875 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004089/1.217, allocations: 102.8 kB / 1.143 GB, free: 3.82 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002393/1.219, allocations: 0.7013 MB / 1.143 GB, free: 3.574 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.701e-05/1.22, allocations: 3.375 kB / 1.143 GB, free: 3.574 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/1.22, allocations: 4.938 kB / 1.143 GB, free: 3.57 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/1.22, allocations: 5.172 kB / 1.143 GB, free: 3.566 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00305/1.223, allocations: 1.1 MB / 1.144 GB, free: 2.926 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.301e-05/1.223, allocations: 2.375 kB / 1.144 GB, free: 2.926 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002569/1.223, allocations: 29.84 kB / 1.144 GB, free: 2.918 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000995/1.224, allocations: 225.7 kB / 1.145 GB, free: 2.848 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.474e-05/1.224, allocations: 10.09 kB / 1.145 GB, free: 2.848 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001616/1.226, allocations: 0.975 MB / 1.146 GB, free: 2.219 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.77e-05/1.226, allocations: 6.719 kB / 1.146 GB, free: 2.215 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002671/1.228, allocations: 0.8671 MB / 1.146 GB, free: 1.738 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009013/1.229, allocations: 221.1 kB / 1.147 GB, free: 1.574 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002849/1.23, allocations: 10.23 kB / 1.147 GB, free: 1.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/1.231, allocations: 59.61 kB / 1.147 GB, free: 1.547 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001915/1.231, allocations: 39.89 kB / 1.147 GB, free: 1.523 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.69e-05/1.231, allocations: 12.16 kB / 1.147 GB, free: 1.523 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002098/1.233, allocations: 0.7924 MB / 1.148 GB, free: 1.258 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.193e-06/1.233, allocations: 0 / 1.148 GB, free: 1.258 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002668/1.236, allocations: 446.1 kB / 1.148 GB, free: 1.227 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006522/1.237, allocations: 165.7 kB / 1.148 GB, free: 1.113 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003599/1.24, allocations: 1.062 MB / 1.149 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.016e-06/1.24, allocations: 0 / 1.149 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001056/1.241, allocations: 241.9 kB / 1.149 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004143/1.246, allocations: 447 kB / 1.15 GB, free: 464 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005779/1.251, allocations: 1.983 MB / 1.152 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001271/1.253, allocations: 1.204 MB / 1.153 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001954/1.255, allocations: 320.6 kB / 1.153 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000326/1.255, allocations: 60.2 kB / 1.153 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of SimCode: time 9.81e-07/1.255, allocations: 0 / 1.153 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of Templates: time 0.05432/1.31, allocations: 18.36 MB / 1.171 GB, free: 5.242 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)