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.538/1.538, allocations: 251.9 MB / 266.9 MB, free: 11.05 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.001153/0.001153, allocations: 175.5 kB / 326.5 MB, free: 2.254 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.953/1.953, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.001006/0.001006, allocations: 86.52 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003717/0.0003718, allocations: 8.906 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2497, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.1625/0.4123, allocations: 135.8 MB / 1.033 GB, free: 7.715 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.005186/0.4176, allocations: 3.155 MB / 1.036 GB, free: 4.551 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000439/0.418, allocations: 7.938 kB / 1.036 GB, free: 4.543 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007304/0.4188, allocations: 187.1 kB / 1.036 GB, free: 4.359 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001707/0.4205, allocations: 0.5063 MB / 1.037 GB, free: 3.852 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001605/0.4221, allocations: 491.1 kB / 1.037 GB, free: 3.379 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002024/0.4242, allocations: 1.503 MB / 1.038 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001109/0.4253, allocations: 0.7034 MB / 1.039 GB, free: 1.168 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001405/0.4267, allocations: 0.7046 MB / 1.04 GB, free: 472 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006733/0.4274, allocations: 493.9 kB / 1.04 GB, free: 15.97 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.419e-05/0.4275, allocations: 32 kB / 1.04 GB, free: 15.94 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001086/0.4286, allocations: 419.3 kB / 1.041 GB, free: 15.54 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002601/0.4288, allocations: 255.1 kB / 1.041 GB, free: 15.29 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003114/0.4292, allocations: 229.1 kB / 1.041 GB, free: 15.05 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.4303, allocations: 0.9707 MB / 1.042 GB, free: 14.08 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4303, allocations: 0 / 1.042 GB, free: 14.08 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.485e-06/0.4303, allocations: 0 / 1.042 GB, free: 14.08 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.39e-05/0.4303, allocations: 0 / 1.042 GB, free: 14.08 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.002327/0.4327, allocations: 1.299 MB / 1.043 GB, free: 12.72 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.4327, allocations: 12.03 kB / 1.043 GB, free: 12.71 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001333/0.4329, allocations: 94.52 kB / 1.044 GB, free: 12.61 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007723/0.4336, allocations: 182.5 kB / 1.044 GB, free: 12.43 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0016/0.4353, allocations: 0.7924 MB / 1.044 GB, free: 11.58 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.366e-05/0.4353, allocations: 41 kB / 1.045 GB, free: 11.54 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.918e-05/0.4354, allocations: 64 kB / 1.045 GB, free: 11.48 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.4366, allocations: 0.8029 MB / 1.045 GB, free: 10.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.4367, allocations: 3.938 kB / 1.045 GB, free: 10.59 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.425e-05/0.4367, allocations: 20 kB / 1.045 GB, free: 10.57 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.4368, allocations: 12 kB / 1.045 GB, free: 10.56 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009282/0.4377, allocations: 0.5423 MB / 1.046 GB, free: 10.02 MB / 0.698 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.00479/0.4425, allocations: 4.61 MB / 1.05 GB, free: 5.027 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007616/0.4433, allocations: 434.2 kB / 1.051 GB, free: 4.594 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.466e-05/0.4434, allocations: 19.97 kB / 1.051 GB, free: 4.574 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005286/0.4439, allocations: 297.7 kB / 1.051 GB, free: 4.262 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 1.964e-06/0.4439, allocations: 0 / 1.051 GB, free: 4.262 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.0051/0.449, allocations: 1.641 MB / 1.053 GB, free: 2.59 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.308e-05/0.4491, allocations: 114.7 kB / 1.053 GB, free: 2.453 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001506/0.4506, allocations: 1.114 MB / 1.054 GB, free: 1.32 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.775e-05/0.4507, allocations: 37.69 kB / 1.054 GB, free: 1.277 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004371/0.4512, allocations: 496.1 kB / 1.054 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.4513, allocations: 106.5 kB / 1.055 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.243e-05/0.4513, allocations: 8 kB / 1.055 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.4514, allocations: 330 kB / 1.055 GB, free: 352 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003342/0.4518, allocations: 184.7 kB / 1.055 GB, free: 164 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5369/0.9887, allocations: 0.4907 MB / 1.056 GB, free: 155.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000618/0.9894, allocations: 294.2 kB / 1.056 GB, free: 155.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.9894, allocations: 1.062 kB / 1.056 GB, free: 155.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002532/0.9919, allocations: 0.9816 MB / 1.057 GB, free: 155.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005019/0.9924, allocations: 2.126 MB / 1.059 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.9925, allocations: 5.188 kB / 1.059 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001238/0.9937, allocations: 381.7 kB / 1.059 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.9939, allocations: 56.33 kB / 1.059 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001286/0.9952, allocations: 1.096 MB / 1.06 GB, free: 152.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/0.9963, allocations: 99.89 kB / 1.06 GB, free: 152.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-05/0.9964, allocations: 30.22 kB / 1.06 GB, free: 152.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.9964, allocations: 3 kB / 1.06 GB, free: 152.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001278/0.9977, allocations: 0.7379 MB / 1.061 GB, free: 152.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.9977, allocations: 6.094 kB / 1.061 GB, free: 152.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005525/0.9983, allocations: 223.7 kB / 1.061 GB, free: 152.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.9985, allocations: 69.06 kB / 1.061 GB, free: 152.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004165/1.003, allocations: 3.108 MB / 1.065 GB, free: 150.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/1.004, allocations: 93.06 kB / 1.065 GB, free: 150.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.072e-05/1.004, allocations: 25.17 kB / 1.065 GB, free: 150.8 MB / 0.698 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 (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.0008794/1.005, allocations: 467.9 kB / 1.065 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001721/1.005, allocations: 104.1 kB / 1.065 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001397/1.006, allocations: 0.6965 MB / 1.066 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/1.006, allocations: 2.75 kB / 1.066 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/1.006, allocations: 6.844 kB / 1.066 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/1.006, allocations: 5.359 kB / 1.066 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/1.008, allocations: 1.095 MB / 1.067 GB, free: 150 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/1.008, allocations: 2.469 kB / 1.067 GB, free: 150 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/1.008, allocations: 32.53 kB / 1.067 GB, free: 150 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006091/1.009, allocations: 239.8 kB / 1.067 GB, free: 150 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.55e-05/1.009, allocations: 9.875 kB / 1.067 GB, free: 150 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001303/1.01, allocations: 1.033 MB / 1.068 GB, free: 149.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/1.01, allocations: 1.531 kB / 1.068 GB, free: 149.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/1.012, allocations: 0.8599 MB / 1.069 GB, free: 149.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000595/1.013, allocations: 220.3 kB / 1.069 GB, free: 148.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/1.013, allocations: 9.375 kB / 1.069 GB, free: 148.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005428/1.013, allocations: 57.22 kB / 1.069 GB, free: 148.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/1.013, allocations: 27.34 kB / 1.069 GB, free: 148.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.371e-05/1.014, allocations: 18.28 kB / 1.069 GB, free: 148.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001575/1.015, allocations: 0.7942 MB / 1.07 GB, free: 148.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.41e-07/1.015, allocations: 0 / 1.07 GB, free: 148.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001853/1.017, allocations: 453.9 kB / 1.071 GB, free: 148.8 MB / 0.698 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 (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.00211/1.019, allocations: 1.863 MB / 1.072 GB, free: 147.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003346/1.022, allocations: 1.202 MB / 1.074 GB, free: 147.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/1.022, allocations: 7.766 kB / 1.074 GB, free: 147.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000765/1.023, allocations: 285.7 kB / 1.074 GB, free: 147.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002489/1.026, allocations: 454.8 kB / 1.074 GB, free: 147.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01609/1.042, allocations: 9.909 MB / 1.084 GB, free: 141.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008194/1.043, allocations: 1.201 MB / 1.085 GB, free: 140.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001239/1.044, allocations: 310.8 kB / 1.085 GB, free: 140.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004593/1.044, allocations: 306.7 kB / 1.086 GB, free: 140.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.332e-06/1.044, allocations: 1.406 kB / 1.086 GB, free: 140.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04947/1.094, allocations: 27.59 MB / 1.113 GB, free: 116.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/1.094, allocations: 271.2 kB / 1.113 GB, free: 116.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.022/4.116, allocations: 0 / 1.113 GB, free: 116.2 MB / 0.698 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)