Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.ParallelFlowOptimised,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.418/1.418, 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.001231/0.001232, allocations: 176.9 kB / 326.5 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.981/1.981, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.0009929/0.000993, allocations: 98.34 kB / 0.6821 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003479/0.0003479, allocations: 12.16 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2477, allocations: 106.3 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.1659/0.4137, allocations: 135.8 MB / 1.033 GB, free: 7.633 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.003461/0.4172, allocations: 1.718 MB / 1.034 GB, free: 5.914 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003391/0.4176, allocations: 7.938 kB / 1.034 GB, free: 5.906 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007123/0.4183, allocations: 183.1 kB / 1.035 GB, free: 5.727 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001594/0.4199, allocations: 0.5063 MB / 1.035 GB, free: 5.219 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001361/0.4213, allocations: 445.8 kB / 1.036 GB, free: 4.789 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001833/0.4231, allocations: 1.507 MB / 1.037 GB, free: 3.281 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002835/0.426, allocations: 2.188 MB / 1.039 GB, free: 1.074 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001556/0.4275, allocations: 0.6928 MB / 1.04 GB, free: 388 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006514/0.4282, allocations: 489.9 kB / 1.04 GB, free: 15.9 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.88e-05/0.4283, allocations: 32 kB / 1.04 GB, free: 15.87 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00106/0.4294, allocations: 415.4 kB / 1.041 GB, free: 15.46 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002684/0.4297, allocations: 263.1 kB / 1.041 GB, free: 15.2 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002985/0.43, allocations: 229.1 kB / 1.041 GB, free: 14.97 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.431, allocations: 0.9824 MB / 1.042 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.4311, allocations: 4 kB / 1.042 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.694e-06/0.4311, allocations: 0 / 1.042 GB, free: 13.98 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.4311, allocations: 0 / 1.042 GB, free: 13.98 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.002373/0.4335, allocations: 1.319 MB / 1.043 GB, free: 12.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/0.4335, allocations: 12.03 kB / 1.043 GB, free: 12.59 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001435/0.4337, allocations: 98.45 kB / 1.044 GB, free: 12.48 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007617/0.4345, allocations: 182.5 kB / 1.044 GB, free: 12.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/0.4361, allocations: 0.7962 MB / 1.045 GB, free: 11.45 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.868e-05/0.4361, allocations: 45 kB / 1.045 GB, free: 11.41 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.381e-05/0.4362, allocations: 60 kB / 1.045 GB, free: 11.35 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.4375, allocations: 0.8297 MB / 1.045 GB, free: 10.45 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/0.4376, allocations: 7.922 kB / 1.045 GB, free: 10.44 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.25e-05/0.4376, allocations: 20 kB / 1.045 GB, free: 10.42 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/0.4376, allocations: 12 kB / 1.045 GB, free: 10.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.4387, allocations: 0.5774 MB / 1.046 GB, free: 9.828 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.004565/0.4433, allocations: 4.262 MB / 1.05 GB, free: 5.301 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008038/0.4441, allocations: 454.2 kB / 1.051 GB, free: 4.848 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.434e-05/0.4442, allocations: 20.14 kB / 1.051 GB, free: 4.828 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005635/0.4448, allocations: 320 kB / 1.051 GB, free: 4.496 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000322/0.4451, allocations: 35.69 kB / 1.051 GB, free: 4.461 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 2.455e-06/0.4451, allocations: 4 kB / 1.051 GB, free: 4.457 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.004979/0.4501, allocations: 1.671 MB / 1.053 GB, free: 2.758 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.149e-05/0.4502, allocations: 110.8 kB / 1.053 GB, free: 2.625 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/0.4518, allocations: 1.143 MB / 1.054 GB, free: 1.465 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.737e-05/0.4518, allocations: 41.69 kB / 1.054 GB, free: 1.418 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005091/0.4524, allocations: 484.5 kB / 1.054 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/0.4525, allocations: 118.3 kB / 1.054 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.333e-05/0.4525, allocations: 4 kB / 1.054 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.4527, allocations: 337.9 kB / 1.055 GB, free: 496 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003929/0.4531, allocations: 205 kB / 1.055 GB, free: 288 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5162/0.9693, allocations: 0.5077 MB / 1.055 GB, free: 154.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007094/0.9701, allocations: 317.5 kB / 1.056 GB, free: 154.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.9701, allocations: 4.469 kB / 1.056 GB, free: 154.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002527/0.9727, allocations: 1.055 MB / 1.057 GB, free: 154.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004463/0.9731, allocations: 2.131 MB / 1.059 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.9731, allocations: 5.406 kB / 1.059 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001229/0.9744, allocations: 353.4 kB / 1.059 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003471/0.9747, allocations: 97.09 kB / 1.059 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/0.9758, allocations: 1.048 MB / 1.06 GB, free: 152.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.9769, allocations: 86.06 kB / 1.06 GB, free: 152.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-05/0.9769, allocations: 22.62 kB / 1.06 GB, free: 152.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.977, allocations: 6.688 kB / 1.06 GB, free: 152.1 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001374/0.9783, allocations: 0.7921 MB / 1.061 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.9784, allocations: 5.188 kB / 1.061 GB, free: 152 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005691/0.9789, allocations: 254.4 kB / 1.061 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003419/0.9793, allocations: 94.3 kB / 1.062 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004076/0.9834, allocations: 3.111 MB / 1.065 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/0.9845, allocations: 94.22 kB / 1.065 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.482e-05/0.9846, allocations: 22.17 kB / 1.065 GB, free: 150.5 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.0006982/0.9853, allocations: 471.8 kB / 1.065 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.9854, allocations: 102.3 kB / 1.065 GB, free: 150.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001423/0.9868, allocations: 0.7633 MB / 1.066 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.9869, allocations: 7.344 kB / 1.066 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.9869, allocations: 2.75 kB / 1.066 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/0.9869, allocations: 1.453 kB / 1.066 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001839/0.9887, allocations: 1.154 MB / 1.067 GB, free: 149.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.9887, allocations: 1.688 kB / 1.067 GB, free: 149.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000274/0.989, allocations: 63.16 kB / 1.067 GB, free: 149.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006097/0.9896, allocations: 243.7 kB / 1.067 GB, free: 149.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.218e-05/0.9897, allocations: 9.203 kB / 1.067 GB, free: 149.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001063/0.9908, allocations: 1.01 MB / 1.068 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.9908, allocations: 2.375 kB / 1.068 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/0.9924, allocations: 0.9294 MB / 1.069 GB, free: 148.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004951/0.9929, allocations: 225.7 kB / 1.07 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.993, allocations: 11.02 kB / 1.07 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00065/0.9937, allocations: 64.52 kB / 1.07 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.9938, allocations: 33 kB / 1.07 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-05/0.9939, allocations: 14.81 kB / 1.07 GB, free: 148.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00148/0.9954, allocations: 0.8062 MB / 1.07 GB, free: 148.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9954, allocations: 0 / 1.07 GB, free: 148.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001748/0.9971, allocations: 482 kB / 1.071 GB, free: 148.5 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.00215/0.9993, allocations: 1.923 MB / 1.073 GB, free: 147.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002689/1.002, allocations: 1.136 MB / 1.074 GB, free: 146.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.002, allocations: 0.7812 kB / 1.074 GB, free: 146.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000645/1.003, allocations: 259.5 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.003496/1.006, allocations: 0.6268 MB / 1.075 GB, free: 146.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01578/1.022, allocations: 10.11 MB / 1.085 GB, free: 141.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000841/1.023, allocations: 1.204 MB / 1.086 GB, free: 140.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001382/1.024, allocations: 339.3 kB / 1.086 GB, free: 140.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004317/1.025, allocations: 325.6 kB / 1.086 GB, free: 140.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.232e-06/1.025, allocations: 4 kB / 1.086 GB, free: 140.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05167/1.076, allocations: 30.68 MB / 1.116 GB, free: 112.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001788/1.077, allocations: 286 kB / 1.117 GB, free: 112.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.14/4.217, allocations: 0 / 1.117 GB, free: 112.4 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)