Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.SeriesParallelFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",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.483/1.483, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001193/0.001194, allocations: 177 kB / 326.5 MB, free: 2.266 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.012/2.012, allocations: 205.4 MB / 0.5775 GB, free: 20.3 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.00102/0.00102, allocations: 90.3 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003694/0.0003695, allocations: 8.719 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2401, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow): time 0.1748/0.415, allocations: 140.6 MB / 1.037 GB, free: 2.902 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.005398/0.4204, allocations: 2.2 MB / 1.04 GB, free: 0.7031 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006151/0.4211, allocations: 15.88 kB / 1.04 GB, free: 0.6875 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.4222, allocations: 239 kB / 1.04 GB, free: 464 kB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.00291/0.4251, allocations: 0.6972 MB / 1.041 GB, free: 15.75 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002038/0.4272, allocations: 476.7 kB / 1.041 GB, free: 15.29 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002949/0.4301, allocations: 1.641 MB / 1.043 GB, free: 13.65 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004027/0.4342, allocations: 2.309 MB / 1.045 GB, free: 11.32 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00271/0.4369, allocations: 0.8566 MB / 1.046 GB, free: 10.46 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001498/0.4384, allocations: 0.5953 MB / 1.046 GB, free: 9.867 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001583/0.4386, allocations: 48 kB / 1.046 GB, free: 9.82 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002232/0.4409, allocations: 0.6279 MB / 1.047 GB, free: 9.191 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004695/0.4414, allocations: 299 kB / 1.047 GB, free: 8.898 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006255/0.442, allocations: 257.1 kB / 1.047 GB, free: 8.641 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001966/0.444, allocations: 1.166 MB / 1.049 GB, free: 7.473 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.444, allocations: 0 / 1.049 GB, free: 7.473 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.785e-06/0.444, allocations: 0 / 1.049 GB, free: 7.473 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.811e-05/0.444, allocations: 0 / 1.049 GB, free: 7.473 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.003802/0.4478, allocations: 1.514 MB / 1.05 GB, free: 5.898 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.052e-05/0.4479, allocations: 12.03 kB / 1.05 GB, free: 5.887 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001936/0.4481, allocations: 102.5 kB / 1.05 GB, free: 5.777 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/0.4493, allocations: 194.4 kB / 1.05 GB, free: 5.586 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002215/0.4515, allocations: 0.8716 MB / 1.051 GB, free: 4.66 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.795e-05/0.4516, allocations: 53.31 kB / 1.051 GB, free: 4.605 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/0.4517, allocations: 64 kB / 1.051 GB, free: 4.543 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002018/0.4538, allocations: 0.9831 MB / 1.052 GB, free: 3.484 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.4538, allocations: 11.88 kB / 1.052 GB, free: 3.473 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.799e-05/0.4539, allocations: 24 kB / 1.052 GB, free: 3.449 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.411e-05/0.4539, allocations: 16 kB / 1.052 GB, free: 3.434 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001806/0.4558, allocations: 0.8077 MB / 1.053 GB, free: 2.625 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.4886/0.9443, allocations: 4.803 MB / 1.058 GB, free: 153.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001874/0.9463, allocations: 4.033 MB / 1.062 GB, free: 149 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.784e-05/0.9463, allocations: 14.84 kB / 1.062 GB, free: 149 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004925/0.9468, allocations: 334.3 kB / 1.062 GB, free: 149 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005332/0.9474, allocations: 31.3 kB / 1.062 GB, free: 149 MB / 0.698 GB Notification: Performance of pre-optimization done (n=35): time 3.446e-06/0.9474, allocations: 0 / 1.062 GB, free: 149 MB / 0.698 GB Notification: Performance of matching and sorting (n=35): time 0.004771/0.9522, allocations: 1.499 MB / 1.064 GB, free: 148.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.781e-05/0.9523, allocations: 113.3 kB / 1.064 GB, free: 148.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001884/0.9542, allocations: 1.176 MB / 1.065 GB, free: 148.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.268e-05/0.9543, allocations: 35.42 kB / 1.065 GB, free: 148.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000425/0.9547, allocations: 0.5141 MB / 1.065 GB, free: 148.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.9548, allocations: 120.5 kB / 1.065 GB, free: 148.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.334e-05/0.9549, allocations: 6.625 kB / 1.065 GB, free: 148.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.059e-05/0.9549, allocations: 326.5 kB / 1.066 GB, free: 148 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003996/0.9553, allocations: 213 kB / 1.066 GB, free: 148 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005574/0.9559, allocations: 0.5315 MB / 1.067 GB, free: 147.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005029/0.9564, allocations: 314.1 kB / 1.067 GB, free: 147.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.9564, allocations: 2.5 kB / 1.067 GB, free: 147.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002425/0.9589, allocations: 1.051 MB / 1.068 GB, free: 147.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004506/0.9593, allocations: 2.139 MB / 1.07 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.9594, allocations: 6.531 kB / 1.07 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001409/0.9608, allocations: 390 kB / 1.07 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005655/0.9614, allocations: 126.9 kB / 1.07 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001569/0.9629, allocations: 1.67 MB / 1.072 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.9641, allocations: 100.3 kB / 1.072 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.898e-05/0.9642, allocations: 27.66 kB / 1.072 GB, free: 144 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.9642, allocations: 8.156 kB / 1.072 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001692/0.9659, allocations: 0.7861 MB / 1.073 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.966, allocations: 5.344 kB / 1.073 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000605/0.9666, allocations: 215.2 kB / 1.073 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004272/0.967, allocations: 109.8 kB / 1.073 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003997/0.971, allocations: 3.013 MB / 1.076 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/0.9722, allocations: 97.86 kB / 1.076 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.025e-05/0.9723, allocations: 23.45 kB / 1.076 GB, free: 142.4 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 (38): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 10} Notification: Performance of prepare postOptimizeDAE: time 0.0008275/0.9731, allocations: 475.8 kB / 1.077 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002596/0.9734, allocations: 111 kB / 1.077 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001711/0.9751, allocations: 0.7673 MB / 1.078 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.437e-06/0.9752, allocations: 4.234 kB / 1.078 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.9752, allocations: 1.906 kB / 1.078 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.9752, allocations: 2.719 kB / 1.078 GB, free: 142.1 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.003612/0.9788, allocations: 2.197 MB / 1.08 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/0.9788, allocations: 3.594 kB / 1.08 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004141/0.9792, allocations: 95.25 kB / 1.08 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004834/0.9797, allocations: 200.9 kB / 1.08 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.37e-05/0.9798, allocations: 11.08 kB / 1.08 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009828/0.9808, allocations: 1.478 MB / 1.082 GB, free: 140 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.269e-06/0.9808, allocations: 7.219 kB / 1.082 GB, free: 140 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001397/0.9822, allocations: 0.9411 MB / 1.082 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004852/0.9827, allocations: 233.7 kB / 1.083 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.9828, allocations: 12.25 kB / 1.083 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006747/0.9835, allocations: 77.72 kB / 1.083 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.468e-05/0.9836, allocations: 36.08 kB / 1.083 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-05/0.9836, allocations: 19.06 kB / 1.083 GB, free: 139.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001092/0.9847, allocations: 0.8272 MB / 1.084 GB, free: 139.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9847, allocations: 0 / 1.084 GB, free: 139.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001543/0.9863, allocations: 0.5033 MB / 1.084 GB, free: 139.2 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 (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001695/0.988, allocations: 1.985 MB / 1.086 GB, free: 137.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002952/0.991, allocations: 1.283 MB / 1.087 GB, free: 137.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.991, allocations: 0 / 1.087 GB, free: 137.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007657/0.9918, allocations: 321.7 kB / 1.088 GB, free: 137.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003485/0.9953, allocations: 0.6516 MB / 1.088 GB, free: 136.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01469/1.01, allocations: 10.43 MB / 1.098 GB, free: 129.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005828/1.011, allocations: 1.243 MB / 1.1 GB, free: 128.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001241/1.012, allocations: 357.8 kB / 1.1 GB, free: 128.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003669/1.012, allocations: 358.2 kB / 1.1 GB, free: 128.4 MB / 0.698 GB Notification: Performance of SimCode: time 1.012e-06/1.012, allocations: 0 / 1.1 GB, free: 128.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05247/1.065, allocations: 31.14 MB / 1.131 GB, free: 97.66 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001685/1.065, allocations: 282.4 kB / 1.131 GB, free: 97.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.908/3.973, allocations: 6.672 kB / 1.131 GB, free: 97.29 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)