Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.46/1.46, allocations: 249.3 MB / 261.8 MB, free: 5.953 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00126/0.00126, allocations: 176.8 kB / 321.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 205.2 MB / 0.572 GB, free: 10.65 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009853/0.0009852, allocations: 90.47 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.119e-05/3.121e-05, allocations: 4 kB / 0.788 GB, free: 97.03 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2073, allocations: 106.3 MB / 0.8919 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.553/5.761, allocations: 2.184 GB / 3.076 GB, free: 201.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003333/5.761, allocations: 91.94 kB / 3.076 GB, free: 201.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.436/9.197, allocations: 0.9392 GB / 4.015 GB, free: 233 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.673e-06/9.197, allocations: 0 / 4.015 GB, free: 233 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001279/9.197, allocations: 34.58 kB / 4.016 GB, free: 233 MB / 0.8698 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.002108/9.199, allocations: 1.153 MB / 4.017 GB, free: 232.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/9.2, allocations: 10.03 kB / 4.017 GB, free: 232.3 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001147/9.2, allocations: 90.64 kB / 4.017 GB, free: 232.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000807/9.2, allocations: 189.6 kB / 4.017 GB, free: 232.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002272/9.203, allocations: 1.098 MB / 4.018 GB, free: 231.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.334e-05/9.203, allocations: 47.56 kB / 4.018 GB, free: 231.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.636e-05/9.203, allocations: 60 kB / 4.018 GB, free: 231.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/9.204, allocations: 0.7386 MB / 4.019 GB, free: 231.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/9.204, allocations: 3.953 kB / 4.019 GB, free: 231.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.635e-05/9.204, allocations: 26.47 kB / 4.019 GB, free: 231.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/9.204, allocations: 14.75 kB / 4.019 GB, free: 231.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006743/9.205, allocations: 477.5 kB / 4.019 GB, free: 231.1 MB / 0.8698 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.004086/9.209, allocations: 4.583 MB / 4.024 GB, free: 227.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005607/9.209, allocations: 390.4 kB / 4.024 GB, free: 227.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002854/9.21, allocations: 220.7 kB / 4.024 GB, free: 227.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003396/9.21, allocations: 187.8 kB / 4.025 GB, free: 226.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004112/9.211, allocations: 283.7 kB / 4.025 GB, free: 226.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=31): time 4.218e-06/9.211, allocations: 0 / 4.025 GB, free: 226.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=31): time 0.001447/9.212, allocations: 0.66 MB / 4.025 GB, free: 226.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/9.212, allocations: 84.14 kB / 4.026 GB, free: 226.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/9.213, allocations: 0.9781 MB / 4.026 GB, free: 226.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.739e-05/9.213, allocations: 33.58 kB / 4.027 GB, free: 226.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003474/9.214, allocations: 490.8 kB / 4.027 GB, free: 225.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.17e-05/9.214, allocations: 116.8 kB / 4.027 GB, free: 225.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.063e-05/9.214, allocations: 8 kB / 4.027 GB, free: 225.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.219e-05/9.214, allocations: 331.9 kB / 4.027 GB, free: 225.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/9.214, allocations: 161.5 kB / 4.028 GB, free: 225.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003949/9.215, allocations: 493 kB / 4.028 GB, free: 224.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003046/9.215, allocations: 280 kB / 4.028 GB, free: 224.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/9.215, allocations: 3.312 kB / 4.028 GB, free: 224.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001146/9.216, allocations: 0.8543 MB / 4.029 GB, free: 224.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004809/9.217, allocations: 2.123 MB / 4.031 GB, free: 222.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/9.217, allocations: 6.219 kB / 4.031 GB, free: 222.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005557/9.217, allocations: 273.8 kB / 4.031 GB, free: 222.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/9.217, allocations: 59.28 kB / 4.032 GB, free: 222 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001199/9.219, allocations: 1.08 MB / 4.033 GB, free: 221.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008713/9.22, allocations: 103.3 kB / 4.033 GB, free: 221.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.253e-05/9.22, allocations: 30.03 kB / 4.033 GB, free: 221.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.397e-06/9.22, allocations: 7.312 kB / 4.033 GB, free: 221.3 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001008/9.221, allocations: 0.6612 MB / 4.033 GB, free: 221.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/9.221, allocations: 7.562 kB / 4.033 GB, free: 221.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004992/9.221, allocations: 216.1 kB / 4.034 GB, free: 221.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/9.221, allocations: 64.12 kB / 4.034 GB, free: 221 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002883/9.224, allocations: 2.979 MB / 4.037 GB, free: 219.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009277/9.225, allocations: 95.44 kB / 4.037 GB, free: 219 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.977e-05/9.225, allocations: 21.84 kB / 4.037 GB, free: 219 MB / 0.8698 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 (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.0002029/9.226, allocations: 143.3 kB / 4.037 GB, free: 218.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/9.226, allocations: 95.78 kB / 4.037 GB, free: 218.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/9.227, allocations: 0.6718 MB / 4.038 GB, free: 218.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/9.227, allocations: 3.781 kB / 4.038 GB, free: 218.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/9.227, allocations: 3.938 kB / 4.038 GB, free: 218.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/9.227, allocations: 2.906 kB / 4.038 GB, free: 218.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002177/9.229, allocations: 1.573 MB / 4.039 GB, free: 217.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/9.229, allocations: 2.656 kB / 4.039 GB, free: 217.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/9.229, allocations: 26 kB / 4.039 GB, free: 217.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004701/9.23, allocations: 245.3 kB / 4.039 GB, free: 217.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.486e-05/9.23, allocations: 11.58 kB / 4.039 GB, free: 217.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008703/9.231, allocations: 1.023 MB / 4.04 GB, free: 217 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.593e-06/9.231, allocations: 4 kB / 4.04 GB, free: 217 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/9.232, allocations: 0.8788 MB / 4.041 GB, free: 216.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003999/9.232, allocations: 215 kB / 4.041 GB, free: 216.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.813e-05/9.232, allocations: 11.69 kB / 4.041 GB, free: 216.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005378/9.233, allocations: 58.23 kB / 4.042 GB, free: 216.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/9.233, allocations: 33.2 kB / 4.042 GB, free: 216.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.472e-05/9.233, allocations: 7.469 kB / 4.042 GB, free: 216.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001036/9.234, allocations: 0.7782 MB / 4.042 GB, free: 216 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.21e-07/9.234, allocations: 3.094 kB / 4.042 GB, free: 216 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002051/9.236, allocations: 0.5081 MB / 4.043 GB, free: 215.9 MB / 0.8698 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 (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.002993/9.239, allocations: 2.678 MB / 4.045 GB, free: 214 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00244/9.241, allocations: 1.15 MB / 4.047 GB, free: 213.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/9.242, allocations: 4.062 kB / 4.047 GB, free: 213.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005044/9.242, allocations: 273.2 kB / 4.047 GB, free: 213.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002028/9.244, allocations: 457 kB / 4.047 GB, free: 213 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002699/9.247, allocations: 1.652 MB / 4.049 GB, free: 212.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005567/9.247, allocations: 1.203 MB / 4.05 GB, free: 211.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001686/9.249, allocations: 0.7233 MB / 4.051 GB, free: 210.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002961/9.249, allocations: 296.2 kB / 4.051 GB, free: 210.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.613e-06/9.249, allocations: 4 kB / 4.051 GB, free: 210.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.072/9.321, allocations: 45.96 MB / 4.096 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000193/9.322, allocations: 234.7 kB / 4.096 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.448/12.77, allocations: 2.969 kB / 4.096 GB, free: 167.6 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)