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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009824/0.0009824, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.492/0.492, allocations: 90.91 MB / 99.34 MB, free: 2.156 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 221.5 MB / 343.2 MB, free: 1.594 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009882/0.0009879, allocations: 105.5 kB / 416 MB, free: 11.14 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.983e-05/1.996e-05, allocations: 3.938 kB / 494.6 MB, free: 52.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1388, allocations: 72.31 MB / 0.5536 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.495/4.634, allocations: 1.822 GB / 2.376 GB, free: 112.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/4.635, allocations: 91.94 kB / 2.376 GB, free: 112.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.4/8.035, allocations: 0.9582 GB / 3.334 GB, free: 92.61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.503e-06/8.035, allocations: 0 / 3.334 GB, free: 92.61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001593/8.035, allocations: 31.75 kB / 3.334 GB, free: 92.58 MB / 0.6042 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.002614/8.038, allocations: 1.141 MB / 3.335 GB, free: 91.39 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/8.038, allocations: 8.031 kB / 3.335 GB, free: 91.38 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/8.039, allocations: 186.3 kB / 3.335 GB, free: 91.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002468/8.041, allocations: 1.081 MB / 3.336 GB, free: 90.09 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.644e-05/8.041, allocations: 16 kB / 3.336 GB, free: 90.07 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/8.041, allocations: 36 kB / 3.336 GB, free: 90.04 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007817/8.042, allocations: 470.3 kB / 3.337 GB, free: 89.58 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008373/8.043, allocations: 0.6766 MB / 3.337 GB, free: 88.83 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/8.043, allocations: 4 kB / 3.337 GB, free: 88.82 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.305e-05/8.043, allocations: 4 kB / 3.337 GB, free: 88.82 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/8.043, allocations: 12 kB / 3.337 GB, free: 88.81 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.003641/8.047, allocations: 4.467 MB / 3.342 GB, free: 83.99 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004965/8.047, allocations: 449.6 kB / 3.342 GB, free: 83.54 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002448/8.048, allocations: 238.4 kB / 3.342 GB, free: 83.31 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002575/8.048, allocations: 201.1 kB / 3.343 GB, free: 83.08 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002974/8.048, allocations: 263.8 kB / 3.343 GB, free: 82.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=31): time 2.455e-06/8.048, allocations: 0 / 3.343 GB, free: 82.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31): time 0.0008381/8.049, allocations: 493.5 kB / 3.343 GB, free: 82.32 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/8.049, allocations: 85.11 kB / 3.343 GB, free: 82.21 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007918/8.05, allocations: 0.8518 MB / 3.344 GB, free: 81.34 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.44e-05/8.05, allocations: 29.7 kB / 3.344 GB, free: 81.31 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002574/8.05, allocations: 492.1 kB / 3.345 GB, free: 80.82 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.392e-05/8.05, allocations: 102.5 kB / 3.345 GB, free: 80.72 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.947e-05/8.05, allocations: 0 / 3.345 GB, free: 80.72 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.013e-05/8.05, allocations: 330 kB / 3.345 GB, free: 80.39 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/8.051, allocations: 176.8 kB / 3.345 GB, free: 80.22 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003263/8.051, allocations: 0.4958 MB / 3.346 GB, free: 79.59 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/8.051, allocations: 273.7 kB / 3.346 GB, free: 79.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/8.051, allocations: 4 kB / 3.346 GB, free: 79.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000688/8.052, allocations: 0.6056 MB / 3.347 GB, free: 78.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003591/8.052, allocations: 2.13 MB / 3.349 GB, free: 76.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/8.052, allocations: 8 kB / 3.349 GB, free: 76.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/8.052, allocations: 8 kB / 3.349 GB, free: 76.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/8.054, allocations: 307.4 kB / 3.349 GB, free: 76.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002223/8.056, allocations: 6.173 MB / 3.355 GB, free: 69.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007843/8.057, allocations: 87.7 kB / 3.355 GB, free: 69.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.469e-05/8.057, allocations: 24 kB / 3.355 GB, free: 69.58 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.267e-06/8.057, allocations: 7.938 kB / 3.355 GB, free: 69.57 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004956/8.057, allocations: 415.9 kB / 3.356 GB, free: 69.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/8.057, allocations: 8 kB / 3.356 GB, free: 69.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-06/8.057, allocations: 12.06 kB / 3.356 GB, free: 69.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000487/8.058, allocations: 147.8 kB / 3.356 GB, free: 69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/8.058, allocations: 11.94 kB / 3.356 GB, free: 68.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005391/8.058, allocations: 79.56 kB / 3.356 GB, free: 68.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.287e-05/8.059, allocations: 20 kB / 3.356 GB, free: 68.89 MB / 0.6042 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 () * 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.0001251/8.059, allocations: 139 kB / 3.356 GB, free: 68.75 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004219/8.059, allocations: 404.3 kB / 3.356 GB, free: 68.35 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.551e-05/8.059, allocations: 98.73 kB / 3.356 GB, free: 68.25 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005926/8.06, allocations: 446.7 kB / 3.357 GB, free: 67.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/8.06, allocations: 4 kB / 3.357 GB, free: 67.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/8.06, allocations: 0 / 3.357 GB, free: 67.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/8.06, allocations: 0 / 3.357 GB, free: 67.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001377/8.061, allocations: 1.258 MB / 3.358 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/8.061, allocations: 8.219 kB / 3.358 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005572/8.062, allocations: 158.4 kB / 3.358 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/8.062, allocations: 4 kB / 3.358 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/8.062, allocations: 7.984 kB / 3.358 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001612/8.063, allocations: 6.032 MB / 3.364 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/8.063, allocations: 7.938 kB / 3.364 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004675/8.064, allocations: 0.6253 MB / 3.365 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002152/8.064, allocations: 215.8 kB / 3.365 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.572e-05/8.064, allocations: 4 kB / 3.365 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000432/8.065, allocations: 47.8 kB / 3.365 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.162e-05/8.065, allocations: 35.89 kB / 3.365 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/8.065, allocations: 12.23 kB / 3.365 GB, free: 59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006093/8.065, allocations: 0.665 MB / 3.366 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.61e-07/8.065, allocations: 0 / 3.366 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001158/8.067, allocations: 451.4 kB / 3.366 GB, free: 57.89 MB / 0.6042 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) * 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.001815/8.068, allocations: 2.58 MB / 3.369 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002105/8.071, allocations: 0.9532 MB / 3.37 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/8.071, allocations: 3.938 kB / 3.37 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005401/8.071, allocations: 245.3 kB / 3.37 GB, free: 54.13 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00156/8.073, allocations: 391.1 kB / 3.37 GB, free: 53.76 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/8.075, allocations: 1.611 MB / 3.372 GB, free: 52.08 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/8.075, allocations: 1.202 MB / 3.373 GB, free: 50.85 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001591/8.077, allocations: 0.7485 MB / 3.374 GB, free: 50.09 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002468/8.077, allocations: 291.3 kB / 3.374 GB, free: 49.81 MB / 0.6042 GB Notification: Performance of SimCode: time 5.51e-07/8.077, allocations: 0 / 3.374 GB, free: 49.81 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04681/8.124, allocations: 30.69 MB / 3.404 GB, free: 19.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001787/8.124, allocations: 176.9 kB / 3.404 GB, free: 19.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.89/11.01, allocations: 0 / 3.404 GB, free: 19.1 MB / 0.6042 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)