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: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009104/0.0009104, allocations: 97.97 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.0009718/0.0009719, allocations: 177.3 kB / 15.95 MB, free: 216 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.505/1.505, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.81/1.81, allocations: 292.6 MB / 0.5497 GB, free: 14.62 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.0007317/0.000732, allocations: 15.66 kB / 0.6737 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3211, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.6684/0.9895, allocations: 135.7 MB / 0.9198 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003216/0.9928, allocations: 1.665 MB / 0.9214 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004484/0.9933, allocations: 6.031 kB / 0.9214 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007114/0.994, allocations: 184.9 kB / 0.9216 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001644/0.9956, allocations: 498.7 kB / 0.922 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001372/0.997, allocations: 415.8 kB / 0.9224 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001946/0.999, allocations: 1.491 MB / 0.9239 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/1, allocations: 0.7007 MB / 0.9246 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001344/1.001, allocations: 0.6954 MB / 0.9253 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006139/1.002, allocations: 499.8 kB / 0.9257 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.21e-05/1.002, allocations: 34.56 kB / 0.9258 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001209/1.003, allocations: 413.5 kB / 0.9262 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003164/1.004, allocations: 258.5 kB / 0.9264 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006689/1.004, allocations: 231.8 kB / 0.9266 GB, free: 21.59 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001506/1.006, allocations: 0.9702 MB / 0.9276 GB, free: 21.5 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/1.006, allocations: 0 / 0.9276 GB, free: 21.5 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.196e-06/1.006, allocations: 0 / 0.9276 GB, free: 21.5 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.496e-05/1.006, allocations: 0 / 0.9276 GB, free: 21.5 MB / 0.7325 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.002264/1.008, allocations: 1.293 MB / 0.9288 GB, free: 20.71 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/1.008, allocations: 9.109 kB / 0.9289 GB, free: 20.71 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001334/1.008, allocations: 94.59 kB / 0.9289 GB, free: 20.67 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008001/1.009, allocations: 181.6 kB / 0.9291 GB, free: 20.61 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/1.011, allocations: 0.7963 MB / 0.9299 GB, free: 20.28 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.631e-05/1.011, allocations: 48.03 kB / 0.9299 GB, free: 20.28 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.082e-05/1.011, allocations: 57.03 kB / 0.93 GB, free: 20.28 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/1.012, allocations: 0.791 MB / 0.9308 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/1.012, allocations: 5.719 kB / 0.9308 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.432e-05/1.012, allocations: 22.11 kB / 0.9308 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/1.012, allocations: 13.31 kB / 0.9308 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/1.013, allocations: 0.5451 MB / 0.9313 GB, free: 20.04 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.005046/1.018, allocations: 4.597 MB / 0.9358 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008649/1.019, allocations: 442.2 kB / 0.9362 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.741e-05/1.019, allocations: 10.55 kB / 0.9363 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005464/1.02, allocations: 295.9 kB / 0.9365 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=31): time 1.833e-06/1.02, allocations: 4 kB / 0.9365 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31): time 0.00162/1.022, allocations: 0.6418 MB / 0.9372 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.991e-05/1.022, allocations: 110.5 kB / 0.9373 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002313/1.024, allocations: 1.116 MB / 0.9384 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.159e-05/1.024, allocations: 36.77 kB / 0.9384 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004488/1.025, allocations: 495.5 kB / 0.9389 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.223e-05/1.025, allocations: 106.1 kB / 0.939 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.52e-05/1.025, allocations: 8.875 kB / 0.939 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000116/1.025, allocations: 325.7 kB / 0.9393 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003592/1.025, allocations: 187.7 kB / 0.9395 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004994/1.026, allocations: 0.4961 MB / 0.94 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004592/1.026, allocations: 300.1 kB / 0.9402 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/1.026, allocations: 1.938 kB / 0.9402 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001222/1.027, allocations: 0.673 MB / 0.9409 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007649/1.028, allocations: 2.136 MB / 0.943 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/1.028, allocations: 5.625 kB / 0.943 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/1.028, allocations: 12.91 kB / 0.943 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004821/1.029, allocations: 117.2 kB / 0.9431 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-05/1.029, allocations: 11.92 kB / 0.9431 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009221/1.03, allocations: 107.7 kB / 0.9432 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.435e-05/1.03, allocations: 23.17 kB / 0.9433 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/1.03, allocations: 3.094 kB / 0.9433 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009527/1.031, allocations: 0.5493 MB / 0.9438 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/1.031, allocations: 5.562 kB / 0.9438 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/1.031, allocations: 12.53 kB / 0.9438 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003782/1.031, allocations: 108.1 kB / 0.9439 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.455e-05/1.031, allocations: 14.03 kB / 0.9439 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007418/1.032, allocations: 95.77 kB / 0.944 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.72e-05/1.032, allocations: 24.98 kB / 0.944 GB, free: 12.65 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.001012/1.033, allocations: 471.7 kB / 0.9445 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/1.033, allocations: 100.9 kB / 0.9446 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009761/1.034, allocations: 479.1 kB / 0.945 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/1.034, allocations: 4.375 kB / 0.9451 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/1.034, allocations: 5.406 kB / 0.9451 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/1.034, allocations: 0 / 0.9451 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001853/1.036, allocations: 1.101 MB / 0.9461 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/1.036, allocations: 2.156 kB / 0.9461 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002838/1.036, allocations: 70.84 kB / 0.9462 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.918e-06/1.036, allocations: 7.297 kB / 0.9462 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.861e-05/1.036, allocations: 10.03 kB / 0.9462 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.092e-06/1.036, allocations: 5.266 kB / 0.9462 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/1.036, allocations: 2.25 kB / 0.9462 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008977/1.037, allocations: 0.6369 MB / 0.9468 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003948/1.038, allocations: 223.5 kB / 0.9471 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/1.038, allocations: 9.297 kB / 0.9471 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004772/1.038, allocations: 56.34 kB / 0.9471 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.726e-05/1.038, allocations: 32.94 kB / 0.9472 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/1.039, allocations: 14.8 kB / 0.9472 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001157/1.04, allocations: 0.7833 MB / 0.9479 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.41e-07/1.04, allocations: 0 / 0.9479 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001439/1.041, allocations: 409.4 kB / 0.9483 GB, free: 11.29 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.001576/1.043, allocations: 1.727 MB / 0.95 GB, free: 9.973 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001448/1.044, allocations: 0.7982 MB / 0.9508 GB, free: 9.844 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/1.044, allocations: 1.156 kB / 0.9508 GB, free: 9.844 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003804/1.045, allocations: 214.1 kB / 0.951 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001876/1.046, allocations: 446.2 kB / 0.9514 GB, free: 9.805 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/1.059, allocations: 9.551 MB / 0.9607 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006565/1.059, allocations: 1.201 MB / 0.9619 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001248/1.061, allocations: 432.7 kB / 0.9623 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003645/1.061, allocations: 322.2 kB / 0.9626 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of SimCode: time 1.222e-06/1.061, allocations: 0 / 0.9626 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05901/1.12, allocations: 25.5 MB / 0.9875 GB, free: 9.258 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001729/1.12, allocations: 240.2 kB / 0.9878 GB, free: 9.016 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.401/3.522, allocations: 2.969 kB / 0.9878 GB, free: 9.016 MB / 0.7481 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) Environment - environmentSimulation: