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.341/1.341, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000937/0.000937, allocations: 176.2 kB / 325.9 MB, free: 2.668 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.427/1.427, allocations: 205 MB / 0.576 GB, free: 20.93 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.0007651/0.0007651, allocations: 100.2 kB / 0.6797 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002928/0.0002928, allocations: 8.969 kB / 0.7932 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1559, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.1464/0.3023, allocations: 159.1 MB / 1.052 GB, free: 4.305 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004749/0.3071, allocations: 3.687 MB / 1.055 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002295/0.3074, allocations: 15.88 kB / 1.055 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005045/0.3079, allocations: 139.2 kB / 1.055 GB, free: 464 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.3644/0.6723, allocations: 497.2 kB / 1.056 GB, free: 2.176 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.6736, allocations: 384.5 kB / 1.056 GB, free: 2.176 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002766/0.6764, allocations: 3.489 MB / 1.06 GB, free: 2.172 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007567/0.6772, allocations: 0.7558 MB / 1.06 GB, free: 2.07 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/0.6782, allocations: 0.8728 MB / 1.061 GB, free: 2.07 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007016/0.6789, allocations: 0.7419 MB / 1.062 GB, free: 2.062 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.151e-05/0.679, allocations: 34.31 kB / 1.062 GB, free: 2.062 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001336/0.6804, allocations: 0.8014 MB / 1.063 GB, free: 2.062 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002919/0.6807, allocations: 285.6 kB / 1.063 GB, free: 2.062 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005329/0.6812, allocations: 0.516 MB / 1.064 GB, free: 2.062 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001537/0.6827, allocations: 1.397 MB / 1.065 GB, free: 1.996 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.6828, allocations: 0 / 1.065 GB, free: 1.996 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6828, allocations: 1.969 kB / 1.065 GB, free: 1.996 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.339e-05/0.6828, allocations: 3.844 kB / 1.065 GB, free: 1.996 MB / 0.698 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.001894/0.6847, allocations: 1.298 MB / 1.066 GB, free: 17.19 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.6847, allocations: 14.28 kB / 1.066 GB, free: 17.18 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001071/0.6848, allocations: 92.44 kB / 1.066 GB, free: 17.14 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006313/0.6855, allocations: 182.9 kB / 1.066 GB, free: 17.09 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.6867, allocations: 0.8365 MB / 1.067 GB, free: 16.72 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.162e-05/0.6868, allocations: 49.56 kB / 1.067 GB, free: 16.72 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.893e-05/0.6869, allocations: 58.56 kB / 1.067 GB, free: 16.72 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.688, allocations: 0.8013 MB / 1.068 GB, free: 16.49 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.6881, allocations: 5.156 kB / 1.068 GB, free: 16.49 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.268e-05/0.6881, allocations: 30.58 kB / 1.068 GB, free: 16.48 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.6881, allocations: 13.66 kB / 1.068 GB, free: 16.48 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000852/0.689, allocations: 0.5385 MB / 1.069 GB, free: 16.48 MB / 0.7136 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.004315/0.6933, allocations: 4.605 MB / 1.073 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007168/0.694, allocations: 434.5 kB / 1.074 GB, free: 13 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000354/0.6944, allocations: 256.5 kB / 1.074 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00026/0.6947, allocations: 189.7 kB / 1.074 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004366/0.6951, allocations: 311.4 kB / 1.074 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=31): time 1.563e-06/0.6951, allocations: 0 / 1.074 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31): time 0.004666/0.6998, allocations: 1.686 MB / 1.076 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.6999, allocations: 88.44 kB / 1.076 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/0.7012, allocations: 1.121 MB / 1.077 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.785e-05/0.7013, allocations: 37.42 kB / 1.077 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003091/0.7016, allocations: 498.1 kB / 1.078 GB, free: 12 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.848e-05/0.7017, allocations: 111.5 kB / 1.078 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.239e-05/0.7017, allocations: 41.48 kB / 1.078 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.7018, allocations: 327.9 kB / 1.078 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003201/0.7022, allocations: 217.3 kB / 1.078 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005079/0.7027, allocations: 0.5257 MB / 1.079 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007512/0.7034, allocations: 0.6387 MB / 1.079 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.7035, allocations: 1.094 kB / 1.079 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002273/0.7057, allocations: 1.073 MB / 1.081 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001783/0.7059, allocations: 278.7 kB / 1.081 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.7059, allocations: 5.25 kB / 1.081 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001253/0.7072, allocations: 399.6 kB / 1.081 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.7074, allocations: 67.14 kB / 1.081 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001263/0.7087, allocations: 1.088 MB / 1.082 GB, free: 9.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008198/0.7096, allocations: 112.9 kB / 1.082 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.615e-05/0.7096, allocations: 30.39 kB / 1.082 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.394e-06/0.7096, allocations: 9.844 kB / 1.082 GB, free: 9.941 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001169/0.7108, allocations: 0.7357 MB / 1.083 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.7108, allocations: 3.312 kB / 1.083 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004762/0.7113, allocations: 226.8 kB / 1.083 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001843/0.7115, allocations: 63.97 kB / 1.083 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003427/0.7149, allocations: 3.026 MB / 1.086 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008147/0.7158, allocations: 99.7 kB / 1.087 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.357e-05/0.7158, allocations: 26.66 kB / 1.087 GB, free: 8.391 MB / 0.7136 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 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,11)} Notification: Performance of prepare postOptimizeDAE: time 0.000555/0.7164, allocations: 469.5 kB / 1.087 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/0.7165, allocations: 96.06 kB / 1.087 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001105/0.7177, allocations: 0.7181 MB / 1.088 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.7177, allocations: 7.438 kB / 1.088 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.7177, allocations: 3.531 kB / 1.088 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.7177, allocations: 0 / 1.088 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00211/0.7198, allocations: 1.621 MB / 1.089 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.7198, allocations: 6.812 kB / 1.089 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.7199, allocations: 27.03 kB / 1.089 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004308/0.7204, allocations: 250 kB / 1.09 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.7204, allocations: 6.5 kB / 1.09 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009367/0.7214, allocations: 1.04 MB / 1.091 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.7214, allocations: 0 / 1.091 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.7226, allocations: 0.8452 MB / 1.091 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000395/0.723, allocations: 214.3 kB / 1.092 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.7232, allocations: 7.156 kB / 1.092 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005071/0.7237, allocations: 54.38 kB / 1.092 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.109e-05/0.7238, allocations: 35.59 kB / 1.092 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.342e-05/0.7238, allocations: 19.22 kB / 1.092 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008898/0.7247, allocations: 0.7944 MB / 1.093 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.252e-06/0.7247, allocations: 0 / 1.093 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001192/0.7259, allocations: 455.9 kB / 1.093 GB, free: 6.375 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001557/0.7275, allocations: 1.363 MB / 1.094 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00238/0.7298, allocations: 1.238 MB / 1.096 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.7299, allocations: 0 / 1.096 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005749/0.7304, allocations: 278 kB / 1.096 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002146/0.7326, allocations: 462.4 kB / 1.096 GB, free: 5.227 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01483/0.7474, allocations: 9.525 MB / 1.106 GB, free: 1.824 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000842/0.7483, allocations: 1.183 MB / 1.107 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001073/0.7494, allocations: 312 kB / 1.107 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003628/0.7498, allocations: 313.3 kB / 1.107 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of SimCode: time 5.41e-07/0.7498, allocations: 0 / 1.107 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3875/1.137, allocations: 27.08 MB / 1.134 GB, free: 6.344 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004006/1.138, allocations: 312.4 kB / 1.134 GB, free: 5.953 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.985/4.123, allocations: 0 / 1.134 GB, free: 5.953 MB / 0.7292 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)