Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.SeriesFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlow",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.000672/0.000672, 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.0007147/0.0007147, allocations: 175.5 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.167/1.167, allocations: 223.3 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.602/0.602, allocations: 113.7 MB / 405.4 MB, free: 4.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002565/0.0002565, allocations: 12 kB / 493.2 MB, free: 8.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1159, allocations: 77.11 MB / 0.5569 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.3505/0.4665, allocations: 146.7 MB / 0.7002 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002154/0.4686, allocations: 1.649 MB / 0.7018 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001527/0.4688, allocations: 7.938 kB / 0.7018 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003336/0.4692, allocations: 107.2 kB / 0.7019 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0007684/0.4699, allocations: 402 kB / 0.7023 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007/0.4706, allocations: 335.9 kB / 0.7026 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002478/0.4731, allocations: 2.979 MB / 0.7055 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000719/0.4739, allocations: 0.6862 MB / 0.7062 GB, free: 2.027 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009757/0.4748, allocations: 0.8559 MB / 0.707 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006802/0.4755, allocations: 0.7079 MB / 0.7077 GB, free: 468 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.871e-05/0.4756, allocations: 32 kB / 0.7077 GB, free: 436 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008636/0.4765, allocations: 0.5652 MB / 0.7083 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002198/0.4767, allocations: 274.9 kB / 0.7086 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001786/0.4769, allocations: 229.1 kB / 0.7088 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0008282/0.4777, allocations: 1.025 MB / 0.7098 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.4777, allocations: 0 / 0.7098 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.133e-06/0.4777, allocations: 0 / 0.7098 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.4778, allocations: 0 / 0.7098 GB, free: 14.33 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.001651/0.4794, allocations: 1.312 MB / 0.7111 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.4795, allocations: 8.031 kB / 0.7111 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.33e-05/0.4796, allocations: 94.52 kB / 0.7112 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006138/0.4802, allocations: 186.5 kB / 0.7113 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.4813, allocations: 0.7962 MB / 0.7121 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.296e-05/0.4813, allocations: 45 kB / 0.7122 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.271e-05/0.4814, allocations: 60 kB / 0.7122 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.4824, allocations: 0.7965 MB / 0.713 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.4825, allocations: 11.88 kB / 0.713 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.408e-05/0.4825, allocations: 24 kB / 0.713 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.4825, allocations: 12 kB / 0.713 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007834/0.4833, allocations: 0.5423 MB / 0.7136 GB, free: 10.25 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.003204/0.4865, allocations: 4.603 MB / 0.7181 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006339/0.4872, allocations: 426.2 kB / 0.7185 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003449/0.4875, allocations: 249.1 kB / 0.7187 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002476/0.4878, allocations: 198.2 kB / 0.7189 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004213/0.4882, allocations: 301.1 kB / 0.7192 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 1.413e-06/0.4882, allocations: 0 / 0.7192 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31): time 0.001125/0.4894, allocations: 0.6482 MB / 0.7198 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.4894, allocations: 81.11 kB / 0.7199 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/0.4906, allocations: 1.118 MB / 0.721 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.638e-05/0.4907, allocations: 33.7 kB / 0.721 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003839/0.4911, allocations: 488.3 kB / 0.7215 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.421e-05/0.4912, allocations: 114.5 kB / 0.7216 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/0.4912, allocations: 19.94 kB / 0.7216 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.4914, allocations: 325.9 kB / 0.7219 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003043/0.4917, allocations: 184.7 kB / 0.7221 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005146/0.4922, allocations: 0.494 MB / 0.7226 GB, free: 384 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000402/0.4926, allocations: 295.3 kB / 0.7229 GB, free: 84 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.4926, allocations: 4 kB / 0.7229 GB, free: 80 kB / 0.5294 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009565/0.4936, allocations: 0.6771 MB / 0.7235 GB, free: 15.39 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001325/0.4937, allocations: 281.2 kB / 0.7238 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.4937, allocations: 4 kB / 0.7238 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.4938, allocations: 12 kB / 0.7238 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001581/0.4953, allocations: 389.6 kB / 0.7242 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002795/0.4981, allocations: 6.094 MB / 0.7301 GB, free: 8.309 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005686/0.4987, allocations: 103.7 kB / 0.7302 GB, free: 8.207 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-05/0.4988, allocations: 28 kB / 0.7303 GB, free: 8.18 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.821e-06/0.4988, allocations: 4 kB / 0.7303 GB, free: 8.176 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007702/0.4996, allocations: 0.536 MB / 0.7308 GB, free: 7.633 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.4996, allocations: 4 kB / 0.7308 GB, free: 7.629 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.196e-06/0.4996, allocations: 8 kB / 0.7308 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004832/0.5001, allocations: 164.4 kB / 0.731 GB, free: 7.461 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.527e-06/0.5001, allocations: 15.92 kB / 0.731 GB, free: 7.445 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004965/0.5006, allocations: 95.48 kB / 0.7311 GB, free: 7.352 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.271e-05/0.5007, allocations: 24 kB / 0.7311 GB, free: 7.328 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 (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003895/0.501, allocations: 468.7 kB / 0.7315 GB, free: 6.859 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.915e-05/0.5011, allocations: 98.78 kB / 0.7316 GB, free: 6.762 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007562/0.5019, allocations: 0.4911 MB / 0.7321 GB, free: 6.266 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.5019, allocations: 8 kB / 0.7321 GB, free: 6.258 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.5019, allocations: 7.891 kB / 0.7321 GB, free: 6.25 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.5019, allocations: 0 / 0.7321 GB, free: 6.25 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001634/0.5036, allocations: 1.396 MB / 0.7335 GB, free: 4.777 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.5036, allocations: 0 / 0.7335 GB, free: 4.777 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005095/0.5041, allocations: 151.8 kB / 0.7336 GB, free: 4.629 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.5041, allocations: 8.219 kB / 0.7336 GB, free: 4.621 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.5041, allocations: 8.375 kB / 0.7336 GB, free: 4.613 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002328/0.5065, allocations: 6.021 MB / 0.7395 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.5065, allocations: 3.938 kB / 0.7395 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000692/0.5072, allocations: 0.6102 MB / 0.7401 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002387/0.5074, allocations: 227.8 kB / 0.7403 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-05/0.5075, allocations: 15.98 kB / 0.7404 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004113/0.508, allocations: 55.88 kB / 0.7404 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.559e-05/0.508, allocations: 31.86 kB / 0.7404 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.5081, allocations: 15.98 kB / 0.7405 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008034/0.5089, allocations: 0.7797 MB / 0.7412 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5089, allocations: 3.938 kB / 0.7412 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000898/0.5098, allocations: 415.4 kB / 0.7416 GB, free: 12.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_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): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001131/0.5109, allocations: 1.214 MB / 0.7428 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002508/0.5134, allocations: 1.105 MB / 0.7439 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.5135, allocations: 4 kB / 0.7439 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006896/0.5142, allocations: 300.4 kB / 0.7442 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/0.5158, allocations: 473.1 kB / 0.7446 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00904/0.5249, allocations: 6.297 MB / 0.7508 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006537/0.5255, allocations: 1.184 MB / 0.7519 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008528/0.5264, allocations: 371.5 kB / 0.7523 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003483/0.5267, allocations: 315.3 kB / 0.7526 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of SimCode: time 3.61e-07/0.5268, allocations: 0 / 0.7526 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03761/0.5644, allocations: 26.42 MB / 0.7784 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001628/0.5646, allocations: 263 kB / 0.7786 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.011/2.576, allocations: 64 / 0.7786 GB, free: 6.16 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1) Environment - environmentSimulation: