Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.742/1.742, allocations: 289.7 MB / 302.2 MB, free: 2.098 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.001071/0.001071, allocations: 177.8 kB / 371.6 MB, free: 3.383 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.463/1.463, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009104/0.0009104, allocations: 94.16 kB / 0.745 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.633e-05/4.645e-05, allocations: 0 / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2563, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.797/6.054, allocations: 2.064 GB / 3.044 GB, free: 132.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/6.054, allocations: 88.98 kB / 3.044 GB, free: 132.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.774/12.83, allocations: 1.789 GB / 4.833 GB, free: 159.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.234e-06/12.83, allocations: 0 / 4.833 GB, free: 159.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.558e-05/12.83, allocations: 31.92 kB / 4.833 GB, free: 159.7 MB / 0.948 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.003263/12.83, allocations: 1.241 MB / 4.834 GB, free: 158.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/12.83, allocations: 12.03 kB / 4.834 GB, free: 158.4 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001809/12.83, allocations: 94.52 kB / 4.834 GB, free: 158.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008336/12.83, allocations: 185.7 kB / 4.835 GB, free: 158.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003276/12.84, allocations: 1.381 MB / 4.836 GB, free: 156.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.38e-05/12.84, allocations: 45 kB / 4.836 GB, free: 156.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.182e-05/12.84, allocations: 64 kB / 4.836 GB, free: 156.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008938/12.84, allocations: 0.7583 MB / 4.837 GB, free: 155.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/12.84, allocations: 7.938 kB / 4.837 GB, free: 155.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.024e-05/12.84, allocations: 24.84 kB / 4.837 GB, free: 155.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/12.84, allocations: 24 kB / 4.837 GB, free: 155.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005972/12.84, allocations: 499.4 kB / 4.837 GB, free: 155.2 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.002955/12.84, allocations: 4.221 MB / 4.842 GB, free: 150.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004596/12.84, allocations: 397.4 kB / 4.842 GB, free: 150.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003266/12.84, allocations: 320.8 kB / 4.842 GB, free: 150 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002751/12.84, allocations: 202.2 kB / 4.842 GB, free: 149.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003372/12.84, allocations: 295.1 kB / 4.843 GB, free: 149.4 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000243/12.84, allocations: 39.67 kB / 4.843 GB, free: 149.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 1.944e-06/12.84, allocations: 0 / 4.843 GB, free: 149.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.001251/12.84, allocations: 0.7238 MB / 4.843 GB, free: 148.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/12.84, allocations: 85.05 kB / 4.844 GB, free: 148.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/12.84, allocations: 1.005 MB / 4.844 GB, free: 147.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.028e-05/12.84, allocations: 45.69 kB / 4.845 GB, free: 147.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002863/12.84, allocations: 480.9 kB / 4.845 GB, free: 147 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.118e-05/12.84, allocations: 114.4 kB / 4.845 GB, free: 146.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.295e-05/12.84, allocations: 12 kB / 4.845 GB, free: 146.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.125e-05/12.84, allocations: 329.9 kB / 4.845 GB, free: 146.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002335/12.85, allocations: 177 kB / 4.846 GB, free: 146.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003795/12.85, allocations: 0.5061 MB / 4.846 GB, free: 145.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003085/12.85, allocations: 292.5 kB / 4.846 GB, free: 145.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/12.85, allocations: 4 kB / 4.846 GB, free: 145.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001177/12.85, allocations: 0.9142 MB / 4.847 GB, free: 144.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003839/12.85, allocations: 2.132 MB / 4.849 GB, free: 142.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/12.85, allocations: 4 kB / 4.849 GB, free: 142.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005407/12.85, allocations: 256.5 kB / 4.85 GB, free: 142 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002358/12.85, allocations: 67.84 kB / 4.85 GB, free: 141.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008145/12.85, allocations: 1.035 MB / 4.851 GB, free: 140.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008785/12.85, allocations: 91.81 kB / 4.851 GB, free: 140.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.385e-05/12.85, allocations: 24 kB / 4.851 GB, free: 140.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.346e-06/12.85, allocations: 4 kB / 4.851 GB, free: 140.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001034/12.85, allocations: 0.7319 MB / 4.851 GB, free: 140 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/12.85, allocations: 4 kB / 4.851 GB, free: 140 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005228/12.85, allocations: 241.1 kB / 4.852 GB, free: 139.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/12.85, allocations: 72.44 kB / 4.852 GB, free: 139.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002881/12.85, allocations: 2.999 MB / 4.855 GB, free: 136.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009258/12.86, allocations: 87.81 kB / 4.855 GB, free: 136.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.172e-05/12.86, allocations: 27.98 kB / 4.855 GB, free: 136.4 MB / 0.948 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 () * 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.0001484/12.86, allocations: 137.3 kB / 4.855 GB, free: 136.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/12.86, allocations: 106.7 kB / 4.855 GB, free: 136.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001106/12.86, allocations: 0.7501 MB / 4.856 GB, free: 135.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/12.86, allocations: 4 kB / 4.856 GB, free: 135.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/12.86, allocations: 0 / 4.856 GB, free: 135.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/12.86, allocations: 7.922 kB / 4.856 GB, free: 135.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002061/12.86, allocations: 1.67 MB / 4.857 GB, free: 133.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/12.86, allocations: 224 / 4.857 GB, free: 133.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/12.86, allocations: 39.92 kB / 4.857 GB, free: 133.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004344/12.86, allocations: 240.7 kB / 4.858 GB, free: 133.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.394e-05/12.86, allocations: 8 kB / 4.858 GB, free: 133.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000659/12.86, allocations: 0.9962 MB / 4.859 GB, free: 132.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/12.86, allocations: 0 / 4.859 GB, free: 132.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009034/12.86, allocations: 0.9387 MB / 4.86 GB, free: 131.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000336/12.86, allocations: 227.7 kB / 4.86 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.862e-05/12.86, allocations: 11.98 kB / 4.86 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006122/12.86, allocations: 67.73 kB / 4.86 GB, free: 131 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.152e-05/12.86, allocations: 39.89 kB / 4.86 GB, free: 131 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/12.86, allocations: 12 kB / 4.86 GB, free: 131 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008094/12.86, allocations: 0.7933 MB / 4.861 GB, free: 130.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/12.86, allocations: 0 / 4.861 GB, free: 130.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001418/12.86, allocations: 0.5426 MB / 4.861 GB, free: 129.6 MB / 0.948 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) * 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.001986/12.87, allocations: 2.679 MB / 4.864 GB, free: 126.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001572/12.87, allocations: 1.069 MB / 4.865 GB, free: 125.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/12.87, allocations: 0 / 4.865 GB, free: 125.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000329/12.87, allocations: 230.7 kB / 4.865 GB, free: 125.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002988/12.87, allocations: 0.63 MB / 4.866 GB, free: 124.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002449/12.87, allocations: 1.693 MB / 4.867 GB, free: 123.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005391/12.87, allocations: 1.207 MB / 4.869 GB, free: 121.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001626/12.88, allocations: 0.7067 MB / 4.869 GB, free: 121.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000267/12.88, allocations: 303.3 kB / 4.87 GB, free: 120.9 MB / 0.948 GB Notification: Performance of SimCode: time 8.32e-07/12.88, allocations: 0 / 4.87 GB, free: 120.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06509/12.94, allocations: 48.05 MB / 4.916 GB, free: 73.11 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000159/12.94, allocations: 242 kB / 4.917 GB, free: 72.79 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.518/16.46, allocations: 0 / 4.917 GB, free: 72.79 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)