Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.592/1.592, allocations: 287.4 MB / 302.6 MB, free: 8.355 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009305/0.0009305, allocations: 177.8 kB / 371.1 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.286/1.286, allocations: 205.4 MB / 0.6298 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007376/0.0007376, allocations: 81.39 kB / 0.7431 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004437/0.0004438, allocations: 15.38 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.214, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow): time 0.6386/0.8527, allocations: 146.7 MB / 1.122 GB, free: 1.52 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.003467/0.8563, allocations: 1.651 MB / 1.124 GB, free: 1.344 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004066/0.8567, allocations: 11.03 kB / 1.124 GB, free: 1.336 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005266/0.8572, allocations: 109.7 kB / 1.124 GB, free: 1.297 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001349/0.8586, allocations: 394.5 kB / 1.124 GB, free: 1.199 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001476/0.8601, allocations: 327.9 kB / 1.124 GB, free: 1.172 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003208/0.8633, allocations: 3.052 MB / 1.127 GB, free: 0.6992 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002497/0.8658, allocations: 2.2 MB / 1.13 GB, free: 328 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002013/0.8678, allocations: 0.8631 MB / 1.13 GB, free: 128 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008652/0.8687, allocations: 0.705 MB / 1.131 GB, free: 0 / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.8688, allocations: 35.27 kB / 1.131 GB, free: 0 / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001618/0.8705, allocations: 0.5616 MB / 1.132 GB, free: 15.96 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002997/0.8708, allocations: 278.9 kB / 1.132 GB, free: 15.92 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003229/0.8711, allocations: 236.4 kB / 1.132 GB, free: 15.85 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001171/0.8723, allocations: 1.036 MB / 1.133 GB, free: 15.75 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.8723, allocations: 0 / 1.133 GB, free: 15.75 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.875e-06/0.8723, allocations: 0 / 1.133 GB, free: 15.75 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.299e-05/0.8723, allocations: 0 / 1.133 GB, free: 15.75 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002112/0.8745, allocations: 1.321 MB / 1.134 GB, free: 14.95 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.8745, allocations: 9.062 kB / 1.134 GB, free: 14.95 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.509e-05/0.8746, allocations: 97.53 kB / 1.135 GB, free: 14.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006796/0.8753, allocations: 182.7 kB / 1.135 GB, free: 14.85 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001503/0.8768, allocations: 0.8453 MB / 1.136 GB, free: 14.47 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.31e-05/0.8769, allocations: 43.31 kB / 1.136 GB, free: 14.47 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.258e-05/0.877, allocations: 63.78 kB / 1.136 GB, free: 14.46 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/0.8782, allocations: 0.8224 MB / 1.136 GB, free: 14.22 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.8783, allocations: 1.406 kB / 1.136 GB, free: 14.22 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.715e-05/0.8783, allocations: 26.03 kB / 1.137 GB, free: 14.21 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.8783, allocations: 17.72 kB / 1.137 GB, free: 14.21 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009705/0.8793, allocations: 0.5657 MB / 1.137 GB, free: 14.2 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.003769/0.8831, allocations: 4.262 MB / 1.141 GB, free: 10.86 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007116/0.8838, allocations: 451.1 kB / 1.142 GB, free: 10.74 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004631/0.8843, allocations: 354 kB / 1.142 GB, free: 10.68 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002819/0.8846, allocations: 193.9 kB / 1.142 GB, free: 10.48 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005007/0.8851, allocations: 332.8 kB / 1.143 GB, free: 10.33 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002119/0.8853, allocations: 40.62 kB / 1.143 GB, free: 10.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 2.294e-06/0.8853, allocations: 1.969 kB / 1.143 GB, free: 10.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.004628/0.89, allocations: 1.602 MB / 1.144 GB, free: 9.617 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.89, allocations: 89.62 kB / 1.144 GB, free: 9.516 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/0.8914, allocations: 1.143 MB / 1.145 GB, free: 9.156 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.249e-05/0.8915, allocations: 34.7 kB / 1.145 GB, free: 9.125 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003501/0.8918, allocations: 493.2 kB / 1.146 GB, free: 8.918 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.229e-05/0.8919, allocations: 115.8 kB / 1.146 GB, free: 8.836 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.201e-05/0.892, allocations: 12.16 kB / 1.146 GB, free: 8.832 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.8921, allocations: 330.3 kB / 1.146 GB, free: 8.52 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003543/0.8924, allocations: 204.4 kB / 1.146 GB, free: 8.473 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005906/0.893, allocations: 0.5156 MB / 1.147 GB, free: 8.059 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008641/0.8939, allocations: 0.6341 MB / 1.148 GB, free: 7.723 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.8939, allocations: 1.844 kB / 1.148 GB, free: 7.723 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002196/0.8961, allocations: 1.055 MB / 1.149 GB, free: 7.32 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001919/0.8963, allocations: 281.9 kB / 1.149 GB, free: 6.996 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.8964, allocations: 6.875 kB / 1.149 GB, free: 6.996 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001408/0.8978, allocations: 402.9 kB / 1.149 GB, free: 6.879 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000355/0.8981, allocations: 94.23 kB / 1.149 GB, free: 6.855 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/0.8995, allocations: 1.11 MB / 1.15 GB, free: 6.172 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008656/0.9003, allocations: 86.25 kB / 1.151 GB, free: 6.141 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.094e-05/0.9004, allocations: 26.92 kB / 1.151 GB, free: 6.137 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.341e-06/0.9004, allocations: 12.28 kB / 1.151 GB, free: 6.129 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001354/0.9018, allocations: 0.7899 MB / 1.151 GB, free: 5.887 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.9018, allocations: 5.656 kB / 1.151 GB, free: 5.887 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005355/0.9023, allocations: 236.2 kB / 1.152 GB, free: 5.824 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003315/0.9027, allocations: 107 kB / 1.152 GB, free: 5.797 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003462/0.9062, allocations: 3.067 MB / 1.155 GB, free: 4.008 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007646/0.9069, allocations: 92.22 kB / 1.155 GB, free: 3.973 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.891e-05/0.907, allocations: 21.44 kB / 1.155 GB, free: 3.973 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 {10 11} Notification: Performance of prepare postOptimizeDAE: time 0.0005834/0.9076, allocations: 470.3 kB / 1.155 GB, free: 3.703 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/0.9077, allocations: 104.7 kB / 1.155 GB, free: 3.648 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00132/0.909, allocations: 0.7769 MB / 1.156 GB, free: 3.398 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.9091, allocations: 3.531 kB / 1.156 GB, free: 3.398 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.9091, allocations: 1.188 kB / 1.156 GB, free: 3.398 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.9091, allocations: 4.172 kB / 1.156 GB, free: 3.395 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002437/0.9115, allocations: 1.752 MB / 1.158 GB, free: 2.555 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.9115, allocations: 3.344 kB / 1.158 GB, free: 2.555 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002456/0.9118, allocations: 71.53 kB / 1.158 GB, free: 2.523 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005088/0.9123, allocations: 265.6 kB / 1.158 GB, free: 2.453 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/0.9123, allocations: 7.625 kB / 1.158 GB, free: 2.453 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009569/0.9133, allocations: 1.037 MB / 1.159 GB, free: 1.805 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.9133, allocations: 6.219 kB / 1.159 GB, free: 1.801 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/0.9148, allocations: 0.9071 MB / 1.16 GB, free: 1.367 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000357/0.9152, allocations: 237.3 kB / 1.16 GB, free: 1.195 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.9153, allocations: 12.53 kB / 1.16 GB, free: 1.191 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006001/0.916, allocations: 67.42 kB / 1.16 GB, free: 1.16 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.372e-05/0.916, allocations: 29.03 kB / 1.16 GB, free: 1.148 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.9161, allocations: 14.55 kB / 1.16 GB, free: 1.145 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009457/0.917, allocations: 0.8151 MB / 1.161 GB, free: 0.875 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.917, allocations: 0 / 1.161 GB, free: 0.875 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001179/0.9182, allocations: 476.5 kB / 1.162 GB, free: 0.8398 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 (13): * Single equations (assignments): 10 * 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 {10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001523/0.9197, allocations: 1.415 MB / 1.163 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002404/0.9222, allocations: 1.259 MB / 1.164 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.9222, allocations: 4.062 kB / 1.164 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006365/0.9228, allocations: 313.8 kB / 1.165 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003087/0.9259, allocations: 0.6215 MB / 1.165 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01218/0.9381, allocations: 6.903 MB / 1.172 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008173/0.939, allocations: 1.185 MB / 1.173 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001091/0.9401, allocations: 338 kB / 1.173 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003692/0.9404, allocations: 325 kB / 1.174 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of SimCode: time 6.32e-07/0.9405, allocations: 1.859 kB / 1.174 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.565/1.505, allocations: 30.39 MB / 1.203 GB, free: 196 kB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004258/1.506, allocations: 262.2 kB / 1.204 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.062/4.568, allocations: 0 / 1.204 GB, free: 15.84 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1)