Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.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.ParallelFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.47/1.47, allocations: 251.9 MB / 266.9 MB, free: 11.06 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.001322/0.001322, allocations: 187.4 kB / 326.5 MB, free: 2.258 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.1/2.1, 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.001119/0.001119, allocations: 93.09 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003426, allocations: 15.55 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2447, allocations: 106.3 MB / 0.9002 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow): time 0.1679/0.4127, allocations: 135.8 MB / 1.033 GB, free: 7.711 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.003561/0.4163, allocations: 1.711 MB / 1.034 GB, free: 5.996 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003887/0.4168, allocations: 7.938 kB / 1.034 GB, free: 5.988 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006914/0.4175, allocations: 191.1 kB / 1.035 GB, free: 5.801 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001707/0.4192, allocations: 0.4946 MB / 1.035 GB, free: 5.305 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001507/0.4207, allocations: 462.5 kB / 1.036 GB, free: 4.859 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002125/0.4228, allocations: 1.5 MB / 1.037 GB, free: 3.359 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002979/0.4258, allocations: 2.188 MB / 1.039 GB, free: 1.152 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001676/0.4275, allocations: 0.6929 MB / 1.04 GB, free: 468 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006873/0.4282, allocations: 497.8 kB / 1.04 GB, free: 15.97 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.947e-05/0.4283, allocations: 32 kB / 1.04 GB, free: 15.94 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.4294, allocations: 411.4 kB / 1.041 GB, free: 15.54 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002879/0.4297, allocations: 255.1 kB / 1.041 GB, free: 15.29 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003331/0.43, allocations: 229.1 kB / 1.041 GB, free: 15.05 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001186/0.4312, allocations: 0.9901 MB / 1.042 GB, free: 14.06 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.4312, allocations: 0 / 1.042 GB, free: 14.06 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4312, allocations: 0 / 1.042 GB, free: 14.06 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.771e-05/0.4313, allocations: 0 / 1.042 GB, free: 14.06 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.002531/0.4338, allocations: 1.315 MB / 1.043 GB, free: 12.68 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.4339, allocations: 8.031 kB / 1.043 GB, free: 12.68 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001419/0.434, allocations: 98.5 kB / 1.044 GB, free: 12.57 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000795/0.4348, allocations: 186.5 kB / 1.044 GB, free: 12.39 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001683/0.4365, allocations: 0.804 MB / 1.045 GB, free: 11.53 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.939e-05/0.4366, allocations: 49 kB / 1.045 GB, free: 11.48 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.771e-05/0.4367, allocations: 56 kB / 1.045 GB, free: 11.43 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.438, allocations: 0.8268 MB / 1.045 GB, free: 10.52 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.4381, allocations: 3.938 kB / 1.045 GB, free: 10.52 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.704e-05/0.4381, allocations: 24 kB / 1.045 GB, free: 10.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/0.4382, allocations: 12 kB / 1.045 GB, free: 10.48 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.4392, allocations: 0.5735 MB / 1.046 GB, free: 9.91 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.005372/0.4446, allocations: 4.254 MB / 1.05 GB, free: 5.391 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007943/0.4454, allocations: 458.2 kB / 1.051 GB, free: 4.934 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.483e-05/0.4455, allocations: 16.14 kB / 1.051 GB, free: 4.918 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005717/0.4461, allocations: 335.9 kB / 1.051 GB, free: 4.57 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003428/0.4464, allocations: 27.69 kB / 1.051 GB, free: 4.543 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 2.365e-06/0.4464, allocations: 0 / 1.051 GB, free: 4.543 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.004918/0.4513, allocations: 1.57 MB / 1.053 GB, free: 2.945 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.497e-05/0.4515, allocations: 110.8 kB / 1.053 GB, free: 2.812 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/0.4531, allocations: 1.147 MB / 1.054 GB, free: 1.648 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.635e-05/0.4531, allocations: 37.64 kB / 1.054 GB, free: 1.605 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004481/0.4536, allocations: 480.5 kB / 1.054 GB, free: 1.133 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.4537, allocations: 118.4 kB / 1.054 GB, free: 1.016 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.658e-05/0.4537, allocations: 12 kB / 1.054 GB, free: 1.004 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.4539, allocations: 325.9 kB / 1.055 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003758/0.4543, allocations: 212.9 kB / 1.055 GB, free: 480 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5513/1.006, allocations: 0.5169 MB / 1.055 GB, free: 155 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007928/1.006, allocations: 313.3 kB / 1.056 GB, free: 155 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/1.006, allocations: 5.578 kB / 1.056 GB, free: 155 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002751/1.009, allocations: 1.049 MB / 1.057 GB, free: 154.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005595/1.01, allocations: 2.136 MB / 1.059 GB, free: 152.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/1.01, allocations: 5.594 kB / 1.059 GB, free: 152.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001446/1.011, allocations: 406.1 kB / 1.059 GB, free: 152.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004102/1.012, allocations: 103.9 kB / 1.059 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001419/1.013, allocations: 1.107 MB / 1.06 GB, free: 152.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/1.014, allocations: 88.69 kB / 1.06 GB, free: 152.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.935e-05/1.014, allocations: 26.97 kB / 1.06 GB, free: 152.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/1.014, allocations: 5.5 kB / 1.06 GB, free: 152.1 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001414/1.016, allocations: 0.7883 MB / 1.061 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/1.016, allocations: 5.031 kB / 1.061 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005654/1.016, allocations: 239 kB / 1.061 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003389/1.017, allocations: 97.75 kB / 1.062 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003957/1.021, allocations: 3.131 MB / 1.065 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/1.022, allocations: 89.58 kB / 1.065 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-05/1.022, allocations: 28.05 kB / 1.065 GB, free: 150.6 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.0008252/1.023, allocations: 470 kB / 1.065 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000196/1.023, allocations: 106.1 kB / 1.065 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00158/1.025, allocations: 0.7608 MB / 1.066 GB, free: 150.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/1.025, allocations: 6.875 kB / 1.066 GB, free: 150.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/1.025, allocations: 0 / 1.066 GB, free: 150.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/1.025, allocations: 2.203 kB / 1.066 GB, free: 150.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002248/1.027, allocations: 1.152 MB / 1.067 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.826e-06/1.027, allocations: 2.516 kB / 1.067 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003107/1.027, allocations: 63.28 kB / 1.067 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007732/1.028, allocations: 274.1 kB / 1.067 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.905e-05/1.028, allocations: 11.22 kB / 1.068 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001407/1.029, allocations: 1.038 MB / 1.069 GB, free: 149.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/1.029, allocations: 6.219 kB / 1.069 GB, free: 149.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001927/1.031, allocations: 0.9319 MB / 1.069 GB, free: 148.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006212/1.032, allocations: 227.2 kB / 1.07 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/1.032, allocations: 8.484 kB / 1.07 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000671/1.033, allocations: 66.84 kB / 1.07 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/1.033, allocations: 35.36 kB / 1.07 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.154e-05/1.033, allocations: 14.23 kB / 1.07 GB, free: 148.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001702/1.035, allocations: 0.814 MB / 1.071 GB, free: 148.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.41e-07/1.035, allocations: 0 / 1.071 GB, free: 148.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001859/1.037, allocations: 475.9 kB / 1.071 GB, free: 148.6 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.002374/1.039, allocations: 1.928 MB / 1.073 GB, free: 147.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003216/1.042, allocations: 1.255 MB / 1.074 GB, free: 146.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/1.042, allocations: 0 / 1.074 GB, free: 146.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008001/1.043, allocations: 309.4 kB / 1.074 GB, free: 146.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003524/1.047, allocations: 0.6351 MB / 1.075 GB, free: 146.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01654/1.063, allocations: 10.22 MB / 1.085 GB, free: 141.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008708/1.064, allocations: 1.203 MB / 1.086 GB, free: 140.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001405/1.065, allocations: 339.6 kB / 1.087 GB, free: 140.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004794/1.066, allocations: 323.8 kB / 1.087 GB, free: 140.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.804e-06/1.066, allocations: 0 / 1.087 GB, free: 140.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05047/1.116, allocations: 30.39 MB / 1.117 GB, free: 112.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/1.117, allocations: 273.6 kB / 1.117 GB, free: 112.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.025/4.142, allocations: 0 / 1.117 GB, free: 112.2 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1)