Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.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.ParallelDpOptimised,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",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.001395/0.001395, allocations: 99.7 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.001841/0.001841, 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.696/1.696, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.796/1.796, 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.0007006/0.0007008, allocations: 13.81 kB / 0.6737 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2609, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.5763/0.8373, allocations: 135.7 MB / 0.9198 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003903/0.8412, allocations: 3.099 MB / 0.9228 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003943/0.8417, allocations: 10.77 kB / 0.9228 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006892/0.8424, allocations: 180.6 kB / 0.923 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001612/0.844, allocations: 0.49 MB / 0.9234 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.8454, allocations: 456.7 kB / 0.9239 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002007/0.8475, allocations: 1.52 MB / 0.9254 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002883/0.8504, allocations: 2.188 MB / 0.9275 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001553/0.8519, allocations: 0.7054 MB / 0.9282 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006973/0.8526, allocations: 488.1 kB / 0.9287 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.485e-05/0.8527, allocations: 35.91 kB / 0.9287 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001137/0.8539, allocations: 419.8 kB / 0.9291 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002754/0.8542, allocations: 258.5 kB / 0.9293 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002868/0.8545, allocations: 230.5 kB / 0.9296 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001217/0.8557, allocations: 0.9844 MB / 0.9305 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.8557, allocations: 1.859 kB / 0.9305 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.894e-06/0.8557, allocations: 0 / 0.9305 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.234e-05/0.8557, allocations: 0 / 0.9305 GB, free: 5.328 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002659/0.8584, allocations: 1.319 MB / 0.9318 GB, free: 20.53 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.8585, allocations: 9.875 kB / 0.9318 GB, free: 20.53 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001502/0.8586, allocations: 94.5 kB / 0.9319 GB, free: 20.49 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008725/0.8595, allocations: 184.8 kB / 0.9321 GB, free: 20.43 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001834/0.8613, allocations: 0.8032 MB / 0.9329 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.501e-05/0.8614, allocations: 50.72 kB / 0.9329 GB, free: 20.1 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.8615, allocations: 56.47 kB / 0.933 GB, free: 20.1 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/0.8629, allocations: 0.8278 MB / 0.9338 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.8629, allocations: 1.75 kB / 0.9338 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.568e-05/0.863, allocations: 21.59 kB / 0.9338 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.863, allocations: 13.03 kB / 0.9338 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.8641, allocations: 0.5722 MB / 0.9344 GB, free: 19.86 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.004691/0.8688, allocations: 4.258 MB / 0.9385 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009545/0.8697, allocations: 464.2 kB / 0.939 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.123e-05/0.8698, allocations: 9.719 kB / 0.939 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005719/0.8704, allocations: 330 kB / 0.9393 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003426/0.8707, allocations: 37.55 kB / 0.9393 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 2.024e-06/0.8707, allocations: 0 / 0.9393 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.001433/0.8722, allocations: 0.7123 MB / 0.94 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.335e-05/0.8723, allocations: 115.7 kB / 0.9401 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001508/0.8738, allocations: 1.15 MB / 0.9413 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.039e-05/0.8739, allocations: 39.17 kB / 0.9413 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003557/0.8742, allocations: 496.5 kB / 0.9418 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.912e-05/0.8743, allocations: 113.8 kB / 0.9419 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-05/0.8743, allocations: 8.75 kB / 0.9419 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.8745, allocations: 328.4 kB / 0.9422 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003537/0.8748, allocations: 205.5 kB / 0.9424 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005162/0.8753, allocations: 0.5175 MB / 0.9429 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004911/0.8758, allocations: 321.9 kB / 0.9432 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.8759, allocations: 5.25 kB / 0.9432 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001181/0.877, allocations: 0.7363 MB / 0.9439 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006935/0.8777, allocations: 2.133 MB / 0.946 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.8778, allocations: 5.125 kB / 0.946 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.8778, allocations: 8.625 kB / 0.946 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005538/0.8784, allocations: 121.3 kB / 0.9461 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.087e-05/0.8784, allocations: 10.53 kB / 0.9462 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/0.8794, allocations: 89.34 kB / 0.9462 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.3e-05/0.8795, allocations: 29.34 kB / 0.9463 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.385e-06/0.8795, allocations: 3.312 kB / 0.9463 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009383/0.8804, allocations: 0.5805 MB / 0.9468 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.8805, allocations: 9.906 kB / 0.9469 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.8805, allocations: 7.656 kB / 0.9469 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004615/0.8809, allocations: 112.4 kB / 0.947 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/0.881, allocations: 11.31 kB / 0.947 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008988/0.8819, allocations: 87.47 kB / 0.9471 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.309e-05/0.8819, allocations: 24.22 kB / 0.9471 GB, free: 13.06 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 (55): * Single equations (assignments): 54 * 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.0007031/0.8826, allocations: 473.8 kB / 0.9475 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/0.8828, allocations: 107.2 kB / 0.9476 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009188/0.8837, allocations: 0.5218 MB / 0.9481 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.8837, allocations: 8.406 kB / 0.9482 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.8837, allocations: 0.9375 kB / 0.9482 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.8837, allocations: 4.156 kB / 0.9482 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/0.8855, allocations: 1.167 MB / 0.9493 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.8855, allocations: 2.219 kB / 0.9493 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003499/0.8858, allocations: 70.16 kB / 0.9494 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.848e-06/0.8859, allocations: 6.875 kB / 0.9494 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.744e-05/0.8859, allocations: 14.28 kB / 0.9494 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.8859, allocations: 3.094 kB / 0.9494 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.8859, allocations: 6.406 kB / 0.9494 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009061/0.8868, allocations: 0.6885 MB / 0.9501 GB, free: 12 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004252/0.8873, allocations: 236.1 kB / 0.9503 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.8874, allocations: 9.125 kB / 0.9503 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006313/0.888, allocations: 67.16 kB / 0.9504 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.856e-05/0.8881, allocations: 32.66 kB / 0.9504 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.59e-05/0.8882, allocations: 13.09 kB / 0.9504 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001151/0.8893, allocations: 0.8166 MB / 0.9512 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8893, allocations: 4 kB / 0.9512 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001352/0.8907, allocations: 421.8 kB / 0.9516 GB, free: 11.69 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 (33): * Single equations (assignments): 31 * 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.001781/0.8925, allocations: 1.784 MB / 0.9534 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001466/0.894, allocations: 0.8902 MB / 0.9542 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.894, allocations: 0.875 kB / 0.9542 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003773/0.8944, allocations: 239.1 kB / 0.9545 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003131/0.8975, allocations: 0.6287 MB / 0.9551 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01236/0.9099, allocations: 9.791 MB / 0.9646 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008185/0.9108, allocations: 1.2 MB / 0.9658 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001473/0.9122, allocations: 444.6 kB / 0.9662 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004261/0.9127, allocations: 336.8 kB / 0.9665 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of SimCode: time 1.173e-06/0.9127, allocations: 0 / 0.9665 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05574/0.9684, allocations: 28.48 MB / 0.9944 GB, free: 7.262 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003226/0.9688, allocations: 239.6 kB / 0.9946 GB, free: 7.02 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.919/3.888, allocations: 0 / 0.9946 GB, free: 7.02 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1) Environment - environmentSimulation: