Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",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.0007248/0.000725, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007574/0.0007574, allocations: 173 kB / 16.58 MB, free: 6.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.169/1.169, allocations: 223.3 MB / 240.6 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6022/0.6022, allocations: 113.7 MB / 405.4 MB, free: 4.641 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002559/0.000256, allocations: 8.594 kB / 493.2 MB, free: 8.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.114, allocations: 77.12 MB / 0.5569 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.3467/0.4607, allocations: 146.7 MB / 0.7002 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002426/0.4632, allocations: 1.658 MB / 0.7018 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002643/0.4635, allocations: 7.938 kB / 0.7018 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003927/0.4639, allocations: 111.2 kB / 0.7019 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0009416/0.4648, allocations: 394.1 kB / 0.7023 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008517/0.4657, allocations: 331.5 kB / 0.7026 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002674/0.4684, allocations: 2.999 MB / 0.7055 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002389/0.4708, allocations: 2.144 MB / 0.7076 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001362/0.4721, allocations: 0.8636 MB / 0.7085 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007502/0.4729, allocations: 0.7079 MB / 0.7092 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.003e-05/0.473, allocations: 36 kB / 0.7092 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008882/0.4739, allocations: 0.5536 MB / 0.7097 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002232/0.4741, allocations: 274.9 kB / 0.71 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001981/0.4743, allocations: 233.1 kB / 0.7102 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0008687/0.4752, allocations: 1.044 MB / 0.7113 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.4752, allocations: 0 / 0.7113 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.002e-06/0.4752, allocations: 0 / 0.7113 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.4752, allocations: 0 / 0.7113 GB, free: 12.85 MB / 0.5294 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.0017/0.4769, allocations: 1.335 MB / 0.7126 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.477, allocations: 8.031 kB / 0.7126 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.756e-05/0.4771, allocations: 94.52 kB / 0.7127 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006445/0.4777, allocations: 186.5 kB / 0.7128 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.4789, allocations: 0.8001 MB / 0.7136 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/0.4789, allocations: 45 kB / 0.7137 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.277e-05/0.479, allocations: 60 kB / 0.7137 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.4801, allocations: 0.8354 MB / 0.7145 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.4801, allocations: 3.953 kB / 0.7145 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.644e-05/0.4802, allocations: 27.94 kB / 0.7146 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.4802, allocations: 16 kB / 0.7146 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008368/0.4811, allocations: 0.5657 MB / 0.7151 GB, free: 8.68 MB / 0.5294 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.003333/0.4844, allocations: 4.263 MB / 0.7193 GB, free: 4.148 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006669/0.4851, allocations: 442.9 kB / 0.7197 GB, free: 3.707 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004507/0.4855, allocations: 358.5 kB / 0.7201 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002612/0.4858, allocations: 194.2 kB / 0.7202 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004677/0.4863, allocations: 323.1 kB / 0.7205 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001547/0.4865, allocations: 31.69 kB / 0.7206 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 1.633e-06/0.4865, allocations: 0 / 0.7206 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.004242/0.4907, allocations: 1.689 MB / 0.7222 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.4908, allocations: 81.11 kB / 0.7223 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/0.492, allocations: 1.151 MB / 0.7234 GB, free: 15.77 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.655e-05/0.492, allocations: 37.64 kB / 0.7235 GB, free: 15.73 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000355/0.4924, allocations: 484.5 kB / 0.7239 GB, free: 15.25 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.439e-05/0.4925, allocations: 118.3 kB / 0.724 GB, free: 15.14 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.562e-05/0.4925, allocations: 12 kB / 0.7241 GB, free: 15.12 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.4926, allocations: 322 kB / 0.7244 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003281/0.493, allocations: 205 kB / 0.7246 GB, free: 14.61 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005195/0.4935, allocations: 0.5228 MB / 0.7251 GB, free: 13.95 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004063/0.4939, allocations: 319.4 kB / 0.7254 GB, free: 13.63 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.4939, allocations: 0 / 0.7254 GB, free: 13.63 MB / 0.545 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001836/0.4958, allocations: 1.05 MB / 0.7264 GB, free: 12.57 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001438/0.4959, allocations: 275.3 kB / 0.7267 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.4959, allocations: 4 kB / 0.7267 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001089/0.497, allocations: 347.2 kB / 0.727 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003163/0.4974, allocations: 103.9 kB / 0.7271 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009284/0.4983, allocations: 1.048 MB / 0.7281 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006781/0.499, allocations: 87.81 kB / 0.7282 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.521e-05/0.499, allocations: 24 kB / 0.7282 GB, free: 10.59 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.031e-06/0.499, allocations: 4 kB / 0.7282 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001231/0.5003, allocations: 0.799 MB / 0.729 GB, free: 9.773 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.5003, allocations: 8.047 kB / 0.729 GB, free: 9.766 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005045/0.5008, allocations: 244.6 kB / 0.7292 GB, free: 9.523 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003006/0.5011, allocations: 107.8 kB / 0.7293 GB, free: 9.418 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003106/0.5042, allocations: 3.048 MB / 0.7323 GB, free: 6.238 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000666/0.5049, allocations: 95.69 kB / 0.7324 GB, free: 6.148 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.643e-05/0.505, allocations: 27.98 kB / 0.7324 GB, free: 6.121 MB / 0.545 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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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 20} Notification: Performance of prepare postOptimizeDAE: time 0.0004406/0.5054, allocations: 464.7 kB / 0.7329 GB, free: 5.656 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.856e-05/0.5055, allocations: 106.7 kB / 0.733 GB, free: 5.551 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001202/0.5067, allocations: 0.789 MB / 0.7338 GB, free: 4.754 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.5067, allocations: 4 kB / 0.7338 GB, free: 4.75 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.5067, allocations: 0 / 0.7338 GB, free: 4.75 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.5068, allocations: 0 / 0.7338 GB, free: 4.75 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002176/0.5089, allocations: 1.748 MB / 0.7355 GB, free: 2.926 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.5089, allocations: 0 / 0.7355 GB, free: 2.926 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/0.5092, allocations: 60.11 kB / 0.7355 GB, free: 2.867 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004438/0.5096, allocations: 238.3 kB / 0.7358 GB, free: 2.633 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.5096, allocations: 8 kB / 0.7358 GB, free: 2.625 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008008/0.5105, allocations: 1.01 MB / 0.7367 GB, free: 1.59 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.5105, allocations: 4.062 kB / 0.7368 GB, free: 1.586 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.5116, allocations: 0.9011 MB / 0.7376 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002786/0.5119, allocations: 235.7 kB / 0.7379 GB, free: 404 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.885e-05/0.512, allocations: 8 kB / 0.7379 GB, free: 396 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005285/0.5125, allocations: 67.77 kB / 0.7379 GB, free: 328 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.869e-05/0.5126, allocations: 27.92 kB / 0.738 GB, free: 300 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.251e-05/0.5126, allocations: 15.98 kB / 0.738 GB, free: 284 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009002/0.5136, allocations: 0.808 MB / 0.7388 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5136, allocations: 4 kB / 0.7388 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001071/0.5146, allocations: 471.5 kB / 0.7392 GB, free: 15 MB / 0.5606 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.001393/0.516, allocations: 1.433 MB / 0.7406 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001702/0.5178, allocations: 1.139 MB / 0.7417 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.5178, allocations: 0 / 0.7417 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004615/0.5182, allocations: 255 kB / 0.742 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002512/0.5208, allocations: 0.6309 MB / 0.7426 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/0.5314, allocations: 6.812 MB / 0.7492 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006718/0.5321, allocations: 1.181 MB / 0.7504 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009784/0.5331, allocations: 352.1 kB / 0.7507 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000358/0.5335, allocations: 319.3 kB / 0.751 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of SimCode: time 4.51e-07/0.5335, allocations: 0 / 0.751 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04336/0.5769, allocations: 30.68 MB / 0.781 GB, free: 4.316 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002316/0.5771, allocations: 299.3 kB / 0.7813 GB, free: 3.934 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.036/2.613, allocations: 0 / 0.7813 GB, free: 3.934 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1) Environment - environmentSimulation: