Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.SeriesParallelDp,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",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.528/1.528, allocations: 251.9 MB / 266.9 MB, free: 11.07 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.001473/0.001473, allocations: 194 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.099/2.099, allocations: 205.4 MB / 0.5775 GB, free: 20.57 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.0009635/0.0009637, allocations: 88.45 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003676/0.0003676, allocations: 13.31 kB / 0.7963 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2579, allocations: 106.3 MB / 0.9002 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp): time 0.1622/0.4201, allocations: 140.6 MB / 1.037 GB, free: 3.418 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.005831/0.426, allocations: 3.643 MB / 1.041 GB, free: 15.77 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005384/0.4266, allocations: 11.88 kB / 1.041 GB, free: 15.75 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0008488/0.4274, allocations: 238.9 kB / 1.041 GB, free: 15.52 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002228/0.4297, allocations: 0.7011 MB / 1.042 GB, free: 14.82 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001625/0.4313, allocations: 0.5117 MB / 1.042 GB, free: 14.31 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002204/0.4335, allocations: 1.65 MB / 1.044 GB, free: 12.66 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002992/0.4365, allocations: 2.317 MB / 1.046 GB, free: 10.34 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001965/0.4385, allocations: 0.8566 MB / 1.047 GB, free: 9.477 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008538/0.4394, allocations: 0.607 MB / 1.048 GB, free: 8.867 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001142/0.4395, allocations: 48 kB / 1.048 GB, free: 8.82 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001144/0.4407, allocations: 455.3 kB / 1.048 GB, free: 8.375 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003148/0.441, allocations: 307 kB / 1.048 GB, free: 8.074 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003449/0.4413, allocations: 249.1 kB / 1.049 GB, free: 7.824 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001268/0.4426, allocations: 1.123 MB / 1.05 GB, free: 6.699 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.4426, allocations: 0 / 1.05 GB, free: 6.699 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.338e-06/0.4426, allocations: 0 / 1.05 GB, free: 6.699 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.4427, allocations: 3.938 kB / 1.05 GB, free: 6.695 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002765/0.4454, allocations: 1.499 MB / 1.051 GB, free: 5.133 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.4455, allocations: 8.031 kB / 1.051 GB, free: 5.125 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001492/0.4456, allocations: 102.5 kB / 1.051 GB, free: 5.016 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000848/0.4465, allocations: 206.2 kB / 1.052 GB, free: 4.812 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001726/0.4482, allocations: 0.8718 MB / 1.052 GB, free: 3.887 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.572e-05/0.4483, allocations: 45.31 kB / 1.052 GB, free: 3.844 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.4484, allocations: 64 kB / 1.053 GB, free: 3.781 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/0.4499, allocations: 0.987 MB / 1.054 GB, free: 2.715 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.4499, allocations: 7.938 kB / 1.054 GB, free: 2.707 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.417e-05/0.45, allocations: 20 kB / 1.054 GB, free: 2.688 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/0.45, allocations: 16 kB / 1.054 GB, free: 2.672 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/0.4513, allocations: 0.8077 MB / 1.054 GB, free: 1.863 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.5051/0.9565, allocations: 4.813 MB / 1.059 GB, free: 153.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00175/0.9582, allocations: 4.029 MB / 1.063 GB, free: 149.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.228e-05/0.9583, allocations: 14.55 kB / 1.063 GB, free: 149.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005225/0.9589, allocations: 334.6 kB / 1.063 GB, free: 149.3 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003825/0.9593, allocations: 30.28 kB / 1.063 GB, free: 149.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=35): time 2.234e-06/0.9593, allocations: 0 / 1.063 GB, free: 149.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=35): time 0.005204/0.9645, allocations: 1.687 MB / 1.065 GB, free: 149.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.9646, allocations: 106.5 kB / 1.065 GB, free: 149 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001701/0.9663, allocations: 1.182 MB / 1.066 GB, free: 148.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.215e-05/0.9664, allocations: 38.66 kB / 1.066 GB, free: 148.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004608/0.9668, allocations: 0.5161 MB / 1.067 GB, free: 148.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.967, allocations: 125.2 kB / 1.067 GB, free: 148.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.451e-05/0.967, allocations: 6.594 kB / 1.067 GB, free: 148.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.414e-05/0.9671, allocations: 332.2 kB / 1.067 GB, free: 148.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004165/0.9675, allocations: 207.1 kB / 1.067 GB, free: 148.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005952/0.9681, allocations: 0.5293 MB / 1.068 GB, free: 148 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004864/0.9686, allocations: 325.6 kB / 1.068 GB, free: 147.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.9686, allocations: 3.062 kB / 1.068 GB, free: 147.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00259/0.9712, allocations: 1.076 MB / 1.069 GB, free: 147.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004978/0.9717, allocations: 2.147 MB / 1.071 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.9718, allocations: 11.02 kB / 1.071 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001752/0.9735, allocations: 439.7 kB / 1.072 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003866/0.9739, allocations: 72.45 kB / 1.072 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/0.9757, allocations: 1.127 MB / 1.073 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/0.9769, allocations: 102.1 kB / 1.073 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.182e-05/0.977, allocations: 28.53 kB / 1.073 GB, free: 144.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.977, allocations: 4.25 kB / 1.073 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001851/0.9789, allocations: 0.8117 MB / 1.074 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.9789, allocations: 5.344 kB / 1.074 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007129/0.9796, allocations: 251.1 kB / 1.074 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003432/0.98, allocations: 80.77 kB / 1.074 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004657/0.9847, allocations: 3.203 MB / 1.077 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/0.986, allocations: 101.8 kB / 1.077 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/0.9861, allocations: 23.3 kB / 1.077 GB, free: 143.3 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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.0009645/0.9871, allocations: 477.6 kB / 1.078 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003455/0.9875, allocations: 116.1 kB / 1.078 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002005/0.9895, allocations: 0.7873 MB / 1.079 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/0.9895, allocations: 4.844 kB / 1.079 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.9895, allocations: 1.656 kB / 1.079 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.9895, allocations: 2.266 kB / 1.079 GB, free: 142.9 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 postOpt removeSimpleEquations (simulation): time 0.00442/0.994, allocations: 2.247 MB / 1.081 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.994, allocations: 2.031 kB / 1.081 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002771/0.9943, allocations: 56.92 kB / 1.081 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005288/0.9948, allocations: 242.5 kB / 1.081 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.246e-05/0.9949, allocations: 8.219 kB / 1.081 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009327/0.9958, allocations: 0.9375 MB / 1.082 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.9958, allocations: 1.531 kB / 1.082 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/0.9975, allocations: 0.9806 MB / 1.083 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008135/0.9984, allocations: 239.9 kB / 1.083 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003249/0.9987, allocations: 7.938 kB / 1.083 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009553/0.9997, allocations: 82.89 kB / 1.084 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.9998, allocations: 41.33 kB / 1.084 GB, free: 140.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-05/0.9998, allocations: 14.3 kB / 1.084 GB, free: 140.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001601/1.001, allocations: 0.829 MB / 1.084 GB, free: 140.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.61e-07/1.001, allocations: 0 / 1.084 GB, free: 140.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002363/1.004, allocations: 0.5032 MB / 1.085 GB, free: 140.4 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * 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 {11 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002173/1.006, allocations: 1.981 MB / 1.087 GB, free: 138.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003064/1.009, allocations: 1.277 MB / 1.088 GB, free: 138.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/1.009, allocations: 4.625 kB / 1.088 GB, free: 138.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007587/1.01, allocations: 313.5 kB / 1.088 GB, free: 138.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003718/1.014, allocations: 0.6579 MB / 1.089 GB, free: 138.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01755/1.031, allocations: 10.49 MB / 1.099 GB, free: 130.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007583/1.032, allocations: 1.232 MB / 1.1 GB, free: 128.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001214/1.033, allocations: 324.4 kB / 1.101 GB, free: 128.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004852/1.034, allocations: 359.3 kB / 1.101 GB, free: 128.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.062e-06/1.034, allocations: 0 / 1.101 GB, free: 128.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05633/1.09, allocations: 31.26 MB / 1.132 GB, free: 97.26 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/1.09, allocations: 287.1 kB / 1.132 GB, free: 96.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.062/4.152, allocations: 0 / 1.132 GB, free: 96.9 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)