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.391/1.391, allocations: 249.5 MB / 257 MB, free: 6.914 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.001109/0.001109, allocations: 176.9 kB / 316.3 MB, free: 3.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0008156/0.000816, allocations: 92.8 kB / 0.6714 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.946e-05/1.949e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1955, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.134/5.33, allocations: 2.185 GB / 3.07 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002129/5.33, allocations: 87.44 kB / 3.07 GB, free: 180 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.336/8.666, allocations: 0.9289 GB / 3.999 GB, free: 237.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.796e-06/8.666, allocations: 0 / 3.999 GB, free: 237.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.461e-05/8.667, allocations: 34.94 kB / 3.999 GB, free: 237.6 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.001725/8.668, allocations: 1.15 MB / 4 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/8.668, allocations: 8.094 kB / 4 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007311/8.669, allocations: 183.8 kB / 4 GB, free: 236.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001865/8.671, allocations: 1.104 MB / 4.001 GB, free: 236.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/8.671, allocations: 15.16 kB / 4.001 GB, free: 236.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.839e-05/8.671, allocations: 34.69 kB / 4.001 GB, free: 236.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006169/8.672, allocations: 473.7 kB / 4.002 GB, free: 236.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007785/8.672, allocations: 0.6744 MB / 4.002 GB, free: 235.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/8.673, allocations: 7.812 kB / 4.002 GB, free: 235.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.964e-05/8.673, allocations: 0 / 4.002 GB, free: 235.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/8.673, allocations: 15 kB / 4.003 GB, free: 235.8 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.002927/8.676, allocations: 4.472 MB / 4.007 GB, free: 232.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004599/8.676, allocations: 436.2 kB / 4.007 GB, free: 232 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002482/8.676, allocations: 238.4 kB / 4.008 GB, free: 231.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002589/8.677, allocations: 198.7 kB / 4.008 GB, free: 231.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003107/8.677, allocations: 266.5 kB / 4.008 GB, free: 231.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=31): time 1.643e-06/8.677, allocations: 0 / 4.008 GB, free: 231.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=31): time 0.001428/8.678, allocations: 0.7463 MB / 4.009 GB, free: 231.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/8.678, allocations: 83.77 kB / 4.009 GB, free: 231.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008606/8.679, allocations: 0.8569 MB / 4.01 GB, free: 230.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/8.679, allocations: 29.45 kB / 4.01 GB, free: 230.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002719/8.68, allocations: 491 kB / 4.01 GB, free: 230.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.599e-05/8.68, allocations: 105.6 kB / 4.01 GB, free: 230.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.017e-05/8.68, allocations: 6.281 kB / 4.01 GB, free: 230.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.256e-05/8.68, allocations: 325.4 kB / 4.011 GB, free: 230.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/8.68, allocations: 173.3 kB / 4.011 GB, free: 230.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003454/8.68, allocations: 0.4908 MB / 4.011 GB, free: 229.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002918/8.681, allocations: 262.1 kB / 4.011 GB, free: 229.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/8.681, allocations: 3.406 kB / 4.011 GB, free: 229.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001255/8.682, allocations: 0.881 MB / 4.012 GB, free: 229.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.00042/8.682, allocations: 2.132 MB / 4.014 GB, free: 227 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/8.682, allocations: 7.594 kB / 4.014 GB, free: 227 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000417/8.683, allocations: 247.7 kB / 4.015 GB, free: 227 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/8.683, allocations: 63.05 kB / 4.015 GB, free: 227 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/8.684, allocations: 1.182 MB / 4.016 GB, free: 226.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007504/8.685, allocations: 81.95 kB / 4.016 GB, free: 226.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.304e-05/8.685, allocations: 25.03 kB / 4.016 GB, free: 226.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.596e-06/8.685, allocations: 3.906 kB / 4.016 GB, free: 226.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008661/8.686, allocations: 0.5812 MB / 4.016 GB, free: 226.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/8.686, allocations: 6.812 kB / 4.016 GB, free: 226.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000468/8.686, allocations: 208.1 kB / 4.017 GB, free: 226 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001907/8.687, allocations: 68.91 kB / 4.017 GB, free: 226 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002752/8.689, allocations: 2.866 MB / 4.02 GB, free: 224.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007335/8.69, allocations: 75.78 kB / 4.02 GB, free: 224.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.043e-05/8.69, allocations: 24.53 kB / 4.02 GB, free: 224.1 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.0002047/8.69, allocations: 121.2 kB / 4.02 GB, free: 224 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008089/8.691, allocations: 0.6104 MB / 4.02 GB, free: 223.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.82e-05/8.691, allocations: 102.1 kB / 4.02 GB, free: 223.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/8.692, allocations: 0.6381 MB / 4.021 GB, free: 223.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/8.692, allocations: 7.5 kB / 4.021 GB, free: 223.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/8.692, allocations: 0 / 4.021 GB, free: 223.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/8.692, allocations: 3.953 kB / 4.021 GB, free: 223.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002043/8.694, allocations: 1.458 MB / 4.023 GB, free: 222.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/8.694, allocations: 0 / 4.023 GB, free: 222.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/8.694, allocations: 35.45 kB / 4.023 GB, free: 222.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003265/8.695, allocations: 200.1 kB / 4.023 GB, free: 222.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/8.695, allocations: 9.125 kB / 4.023 GB, free: 222.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007978/8.696, allocations: 1.053 MB / 4.024 GB, free: 222 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/8.696, allocations: 3.594 kB / 4.024 GB, free: 222 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009299/8.697, allocations: 0.8406 MB / 4.025 GB, free: 221.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003689/8.697, allocations: 215.8 kB / 4.025 GB, free: 221.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/8.697, allocations: 7.375 kB / 4.025 GB, free: 221.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004872/8.698, allocations: 49.34 kB / 4.025 GB, free: 221.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.736e-05/8.698, allocations: 33.23 kB / 4.025 GB, free: 221.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.636e-05/8.698, allocations: 11.47 kB / 4.025 GB, free: 221.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007382/8.698, allocations: 0.6672 MB / 4.026 GB, free: 221 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.71e-07/8.698, allocations: 0 / 4.026 GB, free: 221 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001616/8.7, allocations: 490.2 kB / 4.026 GB, free: 220.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.002599/8.703, allocations: 2.785 MB / 4.029 GB, free: 219.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002095/8.705, allocations: 1.111 MB / 4.03 GB, free: 218.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/8.705, allocations: 7.875 kB / 4.03 GB, free: 218.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004369/8.705, allocations: 246.9 kB / 4.03 GB, free: 218.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001833/8.707, allocations: 399.4 kB / 4.03 GB, free: 218.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002598/8.71, allocations: 1.601 MB / 4.032 GB, free: 217.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005546/8.71, allocations: 1.209 MB / 4.033 GB, free: 216.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001583/8.712, allocations: 0.676 MB / 4.034 GB, free: 216.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002706/8.712, allocations: 288.6 kB / 4.034 GB, free: 215.9 MB / 0.8698 GB Notification: Performance of SimCode: time 9.42e-07/8.712, allocations: 0 / 4.034 GB, free: 215.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05425/8.766, allocations: 32.22 MB / 4.066 GB, free: 187.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001583/8.767, allocations: 189.1 kB / 4.066 GB, free: 187.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.025/11.79, allocations: 3.938 kB / 4.066 GB, free: 187.3 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)