Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009229/0.0009225, allocations: 100.9 kB / 15.05 MB, free: 1.105 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.0009283/0.0009284, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.363/1.363, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.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.666/1.666, allocations: 292.5 MB / 0.5497 GB, free: 14.64 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.0005514/0.0005516, allocations: 14.16 kB / 0.6735 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2591, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.6492/0.9083, allocations: 135.7 MB / 0.9196 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004331/0.9127, allocations: 1.659 MB / 0.9213 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005527/0.9133, allocations: 12.84 kB / 0.9213 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000928/0.9142, allocations: 182 kB / 0.9214 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002374/0.9166, allocations: 0.4896 MB / 0.9219 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002033/0.9187, allocations: 414.2 kB / 0.9223 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003639/0.9223, allocations: 1.494 MB / 0.9238 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001972/0.9243, allocations: 0.7006 MB / 0.9245 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002092/0.9264, allocations: 0.6968 MB / 0.9251 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008077/0.9272, allocations: 495.8 kB / 0.9256 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.9273, allocations: 34.34 kB / 0.9256 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001751/0.9291, allocations: 418.5 kB / 0.926 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004571/0.9296, allocations: 253.5 kB / 0.9263 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004306/0.93, allocations: 232.3 kB / 0.9265 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001719/0.9318, allocations: 0.9722 MB / 0.9275 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.9318, allocations: 0 / 0.9275 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.655e-06/0.9318, allocations: 0 / 0.9275 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.398e-05/0.9318, allocations: 0 / 0.9275 GB, free: 5.539 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.003583/0.9354, allocations: 1.286 MB / 0.9287 GB, free: 20.75 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.328e-05/0.9355, allocations: 11.88 kB / 0.9287 GB, free: 20.74 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001216/0.9367, allocations: 183.4 kB / 0.9289 GB, free: 20.68 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002298/0.939, allocations: 0.7965 MB / 0.9297 GB, free: 20.36 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.712e-05/0.9391, allocations: 43.41 kB / 0.9297 GB, free: 20.36 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.9392, allocations: 61.02 kB / 0.9298 GB, free: 20.36 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001854/0.9411, allocations: 0.7875 MB / 0.9305 GB, free: 20.12 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/0.9411, allocations: 4.188 kB / 0.9306 GB, free: 20.12 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.793e-05/0.9412, allocations: 26.09 kB / 0.9306 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.664e-05/0.9413, allocations: 17.14 kB / 0.9306 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001549/0.9428, allocations: 0.5415 MB / 0.9311 GB, free: 20.11 MB / 0.7325 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.007402/0.9502, allocations: 4.6 MB / 0.9356 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001323/0.9516, allocations: 444.1 kB / 0.936 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.724e-05/0.9517, allocations: 16.05 kB / 0.9361 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008342/0.9525, allocations: 290.4 kB / 0.9363 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=31): time 3.677e-06/0.9526, allocations: 0 / 0.9363 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31): time 0.002386/0.955, allocations: 0.6455 MB / 0.937 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.771e-05/0.9551, allocations: 108.5 kB / 0.9371 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002444/0.9575, allocations: 1.114 MB / 0.9382 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001035/0.9576, allocations: 38.02 kB / 0.9382 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005748/0.9582, allocations: 0.4888 MB / 0.9387 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.9583, allocations: 107 kB / 0.9388 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.601e-05/0.9584, allocations: 8.828 kB / 0.9388 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.9585, allocations: 327.6 kB / 0.9391 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004193/0.959, allocations: 189.1 kB / 0.9393 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005621/0.9595, allocations: 0.4942 MB / 0.9398 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004659/0.96, allocations: 292.7 kB / 0.94 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.96, allocations: 1.062 kB / 0.94 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001372/0.9614, allocations: 0.6837 MB / 0.9407 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.001017/0.9624, allocations: 2.141 MB / 0.9428 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.9624, allocations: 4.75 kB / 0.9428 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.157e-05/0.9625, allocations: 13.25 kB / 0.9428 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004778/0.963, allocations: 110.5 kB / 0.9429 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/0.963, allocations: 10.62 kB / 0.9429 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008957/0.9639, allocations: 108.5 kB / 0.943 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-05/0.964, allocations: 24.89 kB / 0.943 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.964, allocations: 3.219 kB / 0.9431 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009017/0.9649, allocations: 0.5405 MB / 0.9436 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.9649, allocations: 5.875 kB / 0.9436 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.9649, allocations: 10.84 kB / 0.9436 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000377/0.9653, allocations: 112.7 kB / 0.9437 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.392e-05/0.9653, allocations: 9.906 kB / 0.9437 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007129/0.9661, allocations: 98.5 kB / 0.9438 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.954e-05/0.9661, allocations: 20.69 kB / 0.9438 GB, free: 12.73 MB / 0.7325 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 (53): * Single equations (assignments): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007183/0.9668, allocations: 477.1 kB / 0.9443 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.967, allocations: 99.47 kB / 0.9444 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008717/0.9678, allocations: 481.8 kB / 0.9448 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.9679, allocations: 3.844 kB / 0.9448 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.9679, allocations: 1.062 kB / 0.9448 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.9679, allocations: 4.25 kB / 0.9448 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00168/0.9696, allocations: 1.101 MB / 0.9459 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.9696, allocations: 2.781 kB / 0.9459 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000276/0.9699, allocations: 73.55 kB / 0.946 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.9699, allocations: 7.234 kB / 0.946 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.9699, allocations: 10.69 kB / 0.946 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/0.9699, allocations: 3.125 kB / 0.946 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.9699, allocations: 5.062 kB / 0.946 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008878/0.9708, allocations: 0.6271 MB / 0.9466 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003641/0.9712, allocations: 227.4 kB / 0.9468 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.9713, allocations: 12.72 kB / 0.9469 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004448/0.9718, allocations: 54.66 kB / 0.9469 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.947e-05/0.9719, allocations: 35.2 kB / 0.9469 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.687e-05/0.9719, allocations: 12.5 kB / 0.947 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001099/0.973, allocations: 0.7824 MB / 0.9477 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.973, allocations: 2.906 kB / 0.9477 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001315/0.9744, allocations: 411.6 kB / 0.9481 GB, free: 11.36 MB / 0.7325 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 (31): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004514/0.9748, allocations: 171.2 kB / 0.9483 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001403/0.9762, allocations: 0.7975 MB / 0.9491 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.9762, allocations: 0 / 0.9491 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000371/0.9766, allocations: 207.2 kB / 0.9493 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001917/0.9786, allocations: 459.4 kB / 0.9497 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003148/0.9817, allocations: 1.96 MB / 0.9516 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009686/0.9827, allocations: 1.192 MB / 0.9528 GB, free: 9.48 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001316/0.984, allocations: 427.2 kB / 0.9532 GB, free: 9.422 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/0.9842, allocations: 72.59 kB / 0.9532 GB, free: 9.414 MB / 0.7325 GB Notification: Performance of SimCode: time 2.494e-06/0.9842, allocations: 3.938 kB / 0.9533 GB, free: 9.41 MB / 0.7325 GB Notification: Performance of Templates: time 0.03096/1.015, allocations: 15.99 MB / 0.9689 GB, free: 4.105 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) Environment - environmentSimulation: