Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.SeriesDp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDp",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.0007605/0.0007605, 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.0007253/0.0007255, allocations: 174.9 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.163/1.163, allocations: 223.2 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5936/0.5936, allocations: 113.7 MB / 405.5 MB, free: 4.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002742/0.0002743, allocations: 8 kB / 493.2 MB, free: 8.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1134, allocations: 77.12 MB / 0.5569 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.35/0.4635, allocations: 146.7 MB / 0.7002 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00428/0.4678, allocations: 3.364 MB / 0.7035 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002714/0.4681, allocations: 7.938 kB / 0.7035 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004366/0.4686, allocations: 111.2 kB / 0.7036 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001038/0.4696, allocations: 406.1 kB / 0.704 GB, free: 4.332 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.4706, allocations: 366.3 kB / 0.7043 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00276/0.4734, allocations: 2.999 MB / 0.7072 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000846/0.4742, allocations: 0.6897 MB / 0.7079 GB, free: 288 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001248/0.4755, allocations: 0.8676 MB / 0.7088 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007243/0.4762, allocations: 0.7118 MB / 0.7095 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.03e-05/0.4763, allocations: 32 kB / 0.7095 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009869/0.4773, allocations: 0.5574 MB / 0.71 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002471/0.4776, allocations: 282.9 kB / 0.7103 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002122/0.4778, allocations: 229.1 kB / 0.7105 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0009467/0.4787, allocations: 1.025 MB / 0.7115 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.4788, allocations: 0 / 0.7115 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4788, allocations: 0 / 0.7115 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.4788, allocations: 4 kB / 0.7115 GB, free: 12.57 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.001759/0.4805, allocations: 1.312 MB / 0.7128 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.4806, allocations: 8.031 kB / 0.7128 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.524e-05/0.4807, allocations: 90.52 kB / 0.7129 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006302/0.4813, allocations: 182.5 kB / 0.7131 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/0.4825, allocations: 0.8002 MB / 0.7139 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.611e-05/0.4825, allocations: 45 kB / 0.7139 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.339e-05/0.4826, allocations: 60 kB / 0.714 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.4837, allocations: 0.8003 MB / 0.7147 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.4837, allocations: 7.938 kB / 0.7147 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.366e-05/0.4837, allocations: 20 kB / 0.7148 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.4838, allocations: 16 kB / 0.7148 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008288/0.4846, allocations: 0.5461 MB / 0.7153 GB, free: 8.488 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.003373/0.488, allocations: 4.599 MB / 0.7198 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006389/0.4886, allocations: 426.3 kB / 0.7202 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003472/0.489, allocations: 253.1 kB / 0.7205 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002443/0.4892, allocations: 194.2 kB / 0.7206 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004437/0.4897, allocations: 313 kB / 0.7209 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 1.483e-06/0.4897, allocations: 0 / 0.7209 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31): time 0.004159/0.4939, allocations: 1.654 MB / 0.7226 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.4939, allocations: 85.09 kB / 0.7226 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/0.4951, allocations: 1.114 MB / 0.7237 GB, free: 15.36 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/0.4951, allocations: 37.7 kB / 0.7238 GB, free: 15.32 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003584/0.4955, allocations: 496.1 kB / 0.7242 GB, free: 14.83 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.576e-05/0.4956, allocations: 110.7 kB / 0.7243 GB, free: 14.72 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.383e-05/0.4956, allocations: 16 kB / 0.7244 GB, free: 14.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.4957, allocations: 329.9 kB / 0.7247 GB, free: 14.38 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003056/0.496, allocations: 184.7 kB / 0.7248 GB, free: 14.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005238/0.4966, allocations: 0.494 MB / 0.7253 GB, free: 13.57 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003877/0.497, allocations: 291.3 kB / 0.7256 GB, free: 13.28 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.497, allocations: 7.938 kB / 0.7256 GB, free: 13.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00178/0.4988, allocations: 0.9901 MB / 0.7266 GB, free: 12.26 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001576/0.4989, allocations: 274.7 kB / 0.7268 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.499, allocations: 12 kB / 0.7269 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/0.5001, allocations: 354.2 kB / 0.7272 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.5003, allocations: 67.84 kB / 0.7273 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001165/0.5015, allocations: 1.096 MB / 0.7283 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005933/0.5021, allocations: 103.5 kB / 0.7284 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.647e-05/0.5021, allocations: 24 kB / 0.7284 GB, free: 10.24 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.29e-06/0.5021, allocations: 4 kB / 0.7285 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001167/0.5033, allocations: 0.7365 MB / 0.7292 GB, free: 9.488 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.5033, allocations: 4 kB / 0.7292 GB, free: 9.484 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004637/0.5038, allocations: 228.7 kB / 0.7294 GB, free: 9.258 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/0.504, allocations: 67.91 kB / 0.7295 GB, free: 9.191 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003221/0.5072, allocations: 3.021 MB / 0.7324 GB, free: 6.027 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005488/0.5078, allocations: 107.5 kB / 0.7325 GB, free: 5.922 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.276e-05/0.5078, allocations: 20 kB / 0.7325 GB, free: 5.902 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_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 {9 11} Notification: Performance of prepare postOptimizeDAE: time 0.0004642/0.5083, allocations: 472.7 kB / 0.733 GB, free: 5.43 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-05/0.5084, allocations: 98.78 kB / 0.7331 GB, free: 5.332 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/0.5096, allocations: 0.7102 MB / 0.7338 GB, free: 4.609 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.5096, allocations: 4 kB / 0.7338 GB, free: 4.605 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.5096, allocations: 0 / 0.7338 GB, free: 4.605 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.5096, allocations: 7.984 kB / 0.7338 GB, free: 4.598 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002058/0.5117, allocations: 1.624 MB / 0.7354 GB, free: 2.895 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.5117, allocations: 4 kB / 0.7354 GB, free: 2.891 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.5118, allocations: 23.92 kB / 0.7354 GB, free: 2.867 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004508/0.5122, allocations: 246.5 kB / 0.7356 GB, free: 2.625 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.5123, allocations: 8 kB / 0.7356 GB, free: 2.617 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009151/0.5132, allocations: 1.034 MB / 0.7366 GB, free: 1.559 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.5132, allocations: 7.984 kB / 0.7367 GB, free: 1.551 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.5143, allocations: 0.8254 MB / 0.7375 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002513/0.5145, allocations: 239.6 kB / 0.7377 GB, free: 440 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.175e-05/0.5146, allocations: 8 kB / 0.7377 GB, free: 432 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004283/0.5151, allocations: 47.95 kB / 0.7377 GB, free: 384 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.699e-05/0.5151, allocations: 31.91 kB / 0.7378 GB, free: 352 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.272e-05/0.5152, allocations: 12 kB / 0.7378 GB, free: 340 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008792/0.5161, allocations: 0.7838 MB / 0.7385 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5161, allocations: 0 / 0.7385 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00112/0.5172, allocations: 459.7 kB / 0.739 GB, free: 15.09 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_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 {9 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001444/0.5186, allocations: 1.362 MB / 0.7403 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002172/0.5208, allocations: 1.216 MB / 0.7415 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.5208, allocations: 0 / 0.7415 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005518/0.5214, allocations: 280.2 kB / 0.7418 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001721/0.5231, allocations: 467.5 kB / 0.7422 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/0.5336, allocations: 6.579 MB / 0.7486 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006877/0.5343, allocations: 1.196 MB / 0.7498 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008133/0.5352, allocations: 307.6 kB / 0.7501 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003369/0.5355, allocations: 307.3 kB / 0.7504 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.5355, allocations: 4 kB / 0.7504 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04109/0.5766, allocations: 27.58 MB / 0.7773 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002602/0.5769, allocations: 266.4 kB / 0.7776 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.955/2.532, allocations: 0 / 0.7776 GB, free: 7.457 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDp.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1) Environment - environmentSimulation: