Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.SeriesFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow",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.818/1.818, allocations: 252 MB / 267.3 MB, free: 10.85 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.001353/0.001353, allocations: 180.5 kB / 327 MB, free: 2.098 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.767/1.767, allocations: 205.4 MB / 0.578 GB, free: 20.14 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.001037/0.001037, allocations: 78.44 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003414/0.0003416, allocations: 11.81 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1936, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.1608/0.3544, allocations: 157.4 MB / 1.055 GB, free: 1.383 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.4566/0.8111, allocations: 1.793 MB / 1.056 GB, free: 1.996 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003813/0.8115, allocations: 10.44 kB / 1.056 GB, free: 1.996 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005153/0.812, allocations: 137.6 kB / 1.057 GB, free: 1.996 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001392/0.8134, allocations: 0.4932 MB / 1.057 GB, free: 1.992 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.8145, allocations: 344.2 kB / 1.057 GB, free: 1.988 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003182/0.8177, allocations: 3.479 MB / 1.061 GB, free: 1.973 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001184/0.8189, allocations: 0.7464 MB / 1.061 GB, free: 1.871 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00222/0.8212, allocations: 0.8704 MB / 1.062 GB, free: 1.867 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001652/0.8229, allocations: 0.7371 MB / 1.063 GB, free: 1.863 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000185/0.8231, allocations: 36.97 kB / 1.063 GB, free: 1.863 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002247/0.8253, allocations: 0.796 MB / 1.064 GB, free: 1.859 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000466/0.8258, allocations: 284.6 kB / 1.064 GB, free: 1.859 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001027/0.8268, allocations: 0.5365 MB / 1.065 GB, free: 17.83 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002446/0.8293, allocations: 1.4 MB / 1.066 GB, free: 17.72 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.8293, allocations: 0 / 1.066 GB, free: 17.72 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.504e-06/0.8293, allocations: 4.562 kB / 1.066 GB, free: 17.72 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.842e-05/0.8294, allocations: 0.6875 kB / 1.066 GB, free: 17.72 MB / 0.7136 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.003296/0.8327, allocations: 1.289 MB / 1.067 GB, free: 16.91 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.254e-05/0.8327, allocations: 9.25 kB / 1.067 GB, free: 16.91 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002095/0.833, allocations: 97.19 kB / 1.067 GB, free: 16.88 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/0.834, allocations: 186.1 kB / 1.068 GB, free: 16.82 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001906/0.8359, allocations: 0.8347 MB / 1.068 GB, free: 16.45 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.85e-05/0.836, allocations: 47.38 kB / 1.068 GB, free: 16.45 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.8361, allocations: 59.02 kB / 1.068 GB, free: 16.45 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.8376, allocations: 0.8071 MB / 1.069 GB, free: 16.22 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.8376, allocations: 5.344 kB / 1.069 GB, free: 16.22 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.765e-05/0.8377, allocations: 24.62 kB / 1.069 GB, free: 16.22 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.152e-05/0.8377, allocations: 13.98 kB / 1.069 GB, free: 16.22 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.8388, allocations: 0.5469 MB / 1.07 GB, free: 16.21 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.005084/0.8439, allocations: 4.612 MB / 1.074 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007765/0.8447, allocations: 428.6 kB / 1.075 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004173/0.8451, allocations: 244.8 kB / 1.075 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003178/0.8455, allocations: 196.2 kB / 1.075 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004999/0.846, allocations: 301.1 kB / 1.075 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=31): time 2.815e-06/0.846, allocations: 0 / 1.075 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31): time 0.001537/0.8475, allocations: 0.6455 MB / 1.076 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.353e-05/0.8476, allocations: 95.33 kB / 1.076 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001639/0.8492, allocations: 1.119 MB / 1.077 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001044/0.8494, allocations: 37.55 kB / 1.077 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000404/0.8498, allocations: 493.1 kB / 1.078 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.524e-05/0.8499, allocations: 110.8 kB / 1.078 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.511e-05/0.8499, allocations: 10.38 kB / 1.078 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.85, allocations: 325.7 kB / 1.078 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003977/0.8504, allocations: 211 kB / 1.078 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006266/0.8511, allocations: 0.5299 MB / 1.079 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000876/0.852, allocations: 0.6366 MB / 1.08 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.852, allocations: 4.062 kB / 1.08 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001427/0.8534, allocations: 0.7336 MB / 1.08 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001982/0.8536, allocations: 284.6 kB / 1.081 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.8537, allocations: 5.344 kB / 1.081 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.8537, allocations: 8.219 kB / 1.081 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001917/0.8556, allocations: 383.4 kB / 1.081 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003401/0.859, allocations: 6.098 MB / 1.087 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.8603, allocations: 106 kB / 1.087 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-05/0.8604, allocations: 24 kB / 1.087 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.8604, allocations: 3.625 kB / 1.087 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000989/0.8614, allocations: 0.5381 MB / 1.088 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.8614, allocations: 6.406 kB / 1.088 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.8614, allocations: 8.531 kB / 1.088 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005655/0.862, allocations: 156.9 kB / 1.088 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.862, allocations: 14.31 kB / 1.088 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.863, allocations: 95.73 kB / 1.088 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.954e-05/0.8631, allocations: 24.28 kB / 1.088 GB, free: 4.531 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 ($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 (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008678/0.864, allocations: 481.7 kB / 1.088 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002463/0.8642, allocations: 98.16 kB / 1.088 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/0.8653, allocations: 0.4932 MB / 1.089 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.565e-06/0.8653, allocations: 3.812 kB / 1.089 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.8653, allocations: 1.094 kB / 1.089 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.8653, allocations: 3.234 kB / 1.089 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002343/0.8677, allocations: 1.4 MB / 1.09 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.8677, allocations: 10.61 kB / 1.09 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005963/0.8683, allocations: 158.1 kB / 1.09 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.8683, allocations: 3.406 kB / 1.09 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.354e-05/0.8684, allocations: 10.52 kB / 1.09 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002926/0.8713, allocations: 6.022 MB / 1.096 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.8713, allocations: 3.938 kB / 1.096 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.8724, allocations: 0.6195 MB / 1.097 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005501/0.873, allocations: 221.8 kB / 1.097 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.8731, allocations: 14.34 kB / 1.097 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005226/0.8736, allocations: 52.61 kB / 1.097 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.226e-05/0.8737, allocations: 28.02 kB / 1.097 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/0.8738, allocations: 12.95 kB / 1.097 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000964/0.8747, allocations: 0.792 MB / 1.098 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8748, allocations: 4 kB / 1.098 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001295/0.8761, allocations: 416.2 kB / 1.098 GB, free: 13.32 MB / 0.7292 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 (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001407/0.8775, allocations: 1.228 MB / 1.1 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003051/0.8805, allocations: 1.13 MB / 1.101 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.8806, allocations: 3.812 kB / 1.101 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0008457/0.8814, allocations: 304.2 kB / 1.101 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002716/0.8842, allocations: 452.6 kB / 1.101 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01615/0.9003, allocations: 8.902 MB / 1.11 GB, free: 9.012 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009307/0.9013, allocations: 1.177 MB / 1.111 GB, free: 8.297 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001278/0.9026, allocations: 378.6 kB / 1.112 GB, free: 8.242 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003884/0.903, allocations: 312.8 kB / 1.112 GB, free: 8.234 MB / 0.7292 GB Notification: Performance of SimCode: time 1.403e-06/0.9031, allocations: 1.75 kB / 1.112 GB, free: 8.234 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05305/0.9561, allocations: 25.87 MB / 1.137 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003835/0.9566, allocations: 303.2 kB / 1.137 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.115/4.072, allocations: 0 / 1.137 GB, free: 14.61 MB / 0.7448 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)