Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.ParallelFlowOptimised,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",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.523/1.523, allocations: 287.4 MB / 302.6 MB, free: 8.238 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.0009335/0.0009335, allocations: 189.9 kB / 371.1 MB, free: 10.82 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.311/1.311, 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.0007119/0.000712, allocations: 91.81 kB / 0.7431 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004024/0.0004025, allocations: 11.97 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.211, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.6372/0.8482, allocations: 146.7 MB / 1.122 GB, free: 1.316 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.003208/0.8514, allocations: 1.643 MB / 1.124 GB, free: 1.145 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002994/0.8518, allocations: 13.31 kB / 1.124 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005108/0.8523, allocations: 104.8 kB / 1.124 GB, free: 1.098 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001355/0.8536, allocations: 396 kB / 1.124 GB, free: 1 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.8548, allocations: 328.1 kB / 1.124 GB, free: 0.9727 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002962/0.8577, allocations: 3.052 MB / 1.127 GB, free: 0.4961 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00231/0.8601, allocations: 2.2 MB / 1.13 GB, free: 120 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002033/0.8621, allocations: 0.8751 MB / 1.13 GB, free: 0 / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001209/0.8633, allocations: 0.7174 MB / 1.131 GB, free: 15.89 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.431e-05/0.8634, allocations: 34.59 kB / 1.131 GB, free: 15.89 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001441/0.8649, allocations: 0.5524 MB / 1.132 GB, free: 15.85 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003361/0.8652, allocations: 281.3 kB / 1.132 GB, free: 15.81 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003278/0.8656, allocations: 231.5 kB / 1.132 GB, free: 15.74 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.8667, allocations: 1.034 MB / 1.133 GB, free: 15.64 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.8667, allocations: 0 / 1.133 GB, free: 15.64 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.934e-06/0.8667, allocations: 0 / 1.133 GB, free: 15.64 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.631e-05/0.8667, allocations: 0 / 1.133 GB, free: 15.64 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.002072/0.8688, allocations: 1.327 MB / 1.135 GB, free: 14.83 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.8688, allocations: 9.344 kB / 1.135 GB, free: 14.83 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001245/0.869, allocations: 95.92 kB / 1.135 GB, free: 14.79 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006933/0.8697, allocations: 184.8 kB / 1.135 GB, free: 14.73 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001518/0.8712, allocations: 0.8471 MB / 1.136 GB, free: 14.35 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.739e-05/0.8713, allocations: 44.62 kB / 1.136 GB, free: 14.35 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.8714, allocations: 58.16 kB / 1.136 GB, free: 14.35 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/0.8727, allocations: 0.8288 MB / 1.137 GB, free: 14.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.8728, allocations: 1.062 kB / 1.137 GB, free: 14.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.1e-05/0.8728, allocations: 20.09 kB / 1.137 GB, free: 14.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.031e-05/0.8729, allocations: 14.34 kB / 1.137 GB, free: 14.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.8739, allocations: 0.5757 MB / 1.137 GB, free: 14.07 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.004365/0.8783, allocations: 4.256 MB / 1.141 GB, free: 10.98 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007481/0.8791, allocations: 461.3 kB / 1.142 GB, free: 10.86 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005114/0.8796, allocations: 343 kB / 1.142 GB, free: 10.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003197/0.8799, allocations: 199.7 kB / 1.142 GB, free: 10.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005659/0.8805, allocations: 321.1 kB / 1.143 GB, free: 10.46 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003341/0.8808, allocations: 41.81 kB / 1.143 GB, free: 10.44 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 2.244e-06/0.8809, allocations: 5.969 kB / 1.143 GB, free: 10.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.005032/0.8859, allocations: 1.707 MB / 1.144 GB, free: 9.691 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.612e-05/0.886, allocations: 92.25 kB / 1.144 GB, free: 9.59 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001696/0.8877, allocations: 1.143 MB / 1.145 GB, free: 9.23 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.473e-05/0.8878, allocations: 33.7 kB / 1.145 GB, free: 9.199 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004323/0.8882, allocations: 490.5 kB / 1.146 GB, free: 8.992 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.8883, allocations: 116.9 kB / 1.146 GB, free: 8.91 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.437e-05/0.8884, allocations: 8.938 kB / 1.146 GB, free: 8.91 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.8885, allocations: 329.1 kB / 1.146 GB, free: 8.598 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004393/0.8889, allocations: 207.9 kB / 1.147 GB, free: 8.547 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007296/0.8897, allocations: 0.5184 MB / 1.147 GB, free: 8.129 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.8908, allocations: 0.6384 MB / 1.148 GB, free: 7.789 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/0.8908, allocations: 5.219 kB / 1.148 GB, free: 7.785 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002635/0.8934, allocations: 1.05 MB / 1.149 GB, free: 7.391 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002287/0.8937, allocations: 275.2 kB / 1.149 GB, free: 7.074 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.8937, allocations: 5.219 kB / 1.149 GB, free: 7.074 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001333/0.895, allocations: 352.9 kB / 1.149 GB, free: 6.957 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003836/0.8954, allocations: 96.5 kB / 1.149 GB, free: 6.934 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001214/0.8967, allocations: 1.043 MB / 1.15 GB, free: 6.289 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.8977, allocations: 85 kB / 1.151 GB, free: 6.258 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.929e-05/0.8978, allocations: 31.61 kB / 1.151 GB, free: 6.25 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.8978, allocations: 8.594 kB / 1.151 GB, free: 6.246 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001505/0.8994, allocations: 0.7899 MB / 1.151 GB, free: 6.004 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.8994, allocations: 5.656 kB / 1.151 GB, free: 6.004 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006414/0.9, allocations: 251.6 kB / 1.152 GB, free: 5.934 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003562/0.9004, allocations: 104.5 kB / 1.152 GB, free: 5.902 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003762/0.9042, allocations: 3.045 MB / 1.155 GB, free: 4.129 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/0.9052, allocations: 89.88 kB / 1.155 GB, free: 4.094 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.276e-05/0.9053, allocations: 22.44 kB / 1.155 GB, free: 4.094 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 {1 20} Notification: Performance of prepare postOptimizeDAE: time 0.0007556/0.906, allocations: 475 kB / 1.155 GB, free: 3.82 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002397/0.9063, allocations: 100.3 kB / 1.155 GB, free: 3.77 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001515/0.9078, allocations: 0.7895 MB / 1.156 GB, free: 3.508 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.9078, allocations: 2.781 kB / 1.156 GB, free: 3.508 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.9078, allocations: 1.844 kB / 1.156 GB, free: 3.508 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.9079, allocations: 3.984 kB / 1.156 GB, free: 3.504 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003055/0.9109, allocations: 1.741 MB / 1.158 GB, free: 2.672 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.9109, allocations: 2.656 kB / 1.158 GB, free: 2.672 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002745/0.9112, allocations: 66.72 kB / 1.158 GB, free: 2.648 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005288/0.9118, allocations: 243.8 kB / 1.158 GB, free: 2.574 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.938e-05/0.9118, allocations: 7.5 kB / 1.158 GB, free: 2.574 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009479/0.9128, allocations: 1.014 MB / 1.159 GB, free: 1.938 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.9128, allocations: 2.531 kB / 1.159 GB, free: 1.938 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/0.9142, allocations: 0.8992 MB / 1.16 GB, free: 1.512 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004968/0.9147, allocations: 237 kB / 1.16 GB, free: 1.34 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001848/0.9149, allocations: 6.062 kB / 1.16 GB, free: 1.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007084/0.9156, allocations: 68.48 kB / 1.16 GB, free: 1.309 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.649e-05/0.9158, allocations: 27.52 kB / 1.16 GB, free: 1.297 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/0.9158, allocations: 18.62 kB / 1.16 GB, free: 1.293 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001202/0.917, allocations: 0.8091 MB / 1.161 GB, free: 1.027 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.303e-06/0.917, allocations: 0 / 1.161 GB, free: 1.027 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001652/0.9187, allocations: 476.6 kB / 1.162 GB, free: 0.9961 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 {1 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.00172/0.9204, allocations: 1.424 MB / 1.163 GB, free: 68 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002605/0.923, allocations: 1.149 MB / 1.164 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.923, allocations: 0 / 1.164 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006333/0.9237, allocations: 256.5 kB / 1.164 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004734/0.9284, allocations: 0.6211 MB / 1.165 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0152/0.9436, allocations: 6.807 MB / 1.172 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009475/0.9446, allocations: 1.186 MB / 1.173 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001329/0.946, allocations: 334.7 kB / 1.173 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004807/0.9465, allocations: 326.1 kB / 1.173 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of SimCode: time 8.12e-07/0.9465, allocations: 0 / 1.173 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.333/1.28, allocations: 30.69 MB / 1.203 GB, free: 464 kB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003459/1.28, allocations: 278.7 kB / 1.204 GB, free: 96 kB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.942/4.222, allocations: 0 / 1.204 GB, free: 96 kB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)