Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",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.486/1.486, allocations: 251.9 MB / 266.8 MB, free: 11.03 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.001231, allocations: 188.8 kB / 326.5 MB, free: 2.246 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.854/1.854, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0009369/0.0009369, allocations: 86.36 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003522/0.0003523, allocations: 9.812 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2606, allocations: 106.3 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.821/5.082, allocations: 2.184 GB / 3.085 GB, free: 36.39 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/5.082, allocations: 97.48 kB / 3.085 GB, free: 36.29 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.998/11.08, allocations: 1.737 GB / 4.822 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.914e-06/11.08, allocations: 0 / 4.822 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.953e-05/11.08, allocations: 31.98 kB / 4.822 GB, free: 10.49 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002769/11.08, allocations: 1.442 MB / 4.823 GB, free: 8.992 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/11.08, allocations: 8.031 kB / 4.823 GB, free: 8.984 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001159/11.08, allocations: 94.52 kB / 4.823 GB, free: 8.883 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007618/11.08, allocations: 182.5 kB / 4.824 GB, free: 8.703 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002245/11.09, allocations: 1.108 MB / 4.825 GB, free: 7.539 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.252e-05/11.09, allocations: 48.95 kB / 4.825 GB, free: 7.492 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.319e-05/11.09, allocations: 60 kB / 4.825 GB, free: 7.434 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/11.09, allocations: 0.7654 MB / 4.826 GB, free: 6.586 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/11.09, allocations: 0 / 4.826 GB, free: 6.586 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.918e-05/11.09, allocations: 20 kB / 4.826 GB, free: 6.566 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/11.09, allocations: 12 kB / 4.826 GB, free: 6.555 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007444/11.09, allocations: 0.5188 MB / 4.826 GB, free: 6.039 MB / 0.8855 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.003321/11.09, allocations: 4.587 MB / 4.831 GB, free: 1.066 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005877/11.09, allocations: 426.5 kB / 4.831 GB, free: 0.6367 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002624/11.09, allocations: 194.2 kB / 4.831 GB, free: 420 kB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000398/11.09, allocations: 290.7 kB / 4.831 GB, free: 108 kB / 0.8855 GB Notification: Performance of pre-optimization done (n=31): time 1.683e-06/11.09, allocations: 0 / 4.831 GB, free: 108 kB / 0.8855 GB Notification: Performance of matching and sorting (n=31): time 0.5308/11.62, allocations: 1.221 MB / 4.833 GB, free: 266.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/11.62, allocations: 81.58 kB / 4.833 GB, free: 266.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/11.62, allocations: 0.9885 MB / 4.834 GB, free: 266.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.324e-05/11.62, allocations: 39.27 kB / 4.834 GB, free: 266.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003915/11.63, allocations: 492 kB / 4.834 GB, free: 266.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.517e-05/11.63, allocations: 109.3 kB / 4.834 GB, free: 266.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.236e-05/11.63, allocations: 13.06 kB / 4.834 GB, free: 266.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.253e-05/11.63, allocations: 326.4 kB / 4.835 GB, free: 265.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002982/11.63, allocations: 180.2 kB / 4.835 GB, free: 265.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004848/11.63, allocations: 0.509 MB / 4.835 GB, free: 265.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004333/11.63, allocations: 284.1 kB / 4.836 GB, free: 265.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/11.63, allocations: 2.781 kB / 4.836 GB, free: 265.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00145/11.63, allocations: 0.9149 MB / 4.836 GB, free: 265.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004932/11.63, allocations: 2.13 MB / 4.839 GB, free: 263.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/11.63, allocations: 9.234 kB / 4.839 GB, free: 263.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005857/11.63, allocations: 239.7 kB / 4.839 GB, free: 263.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/11.63, allocations: 61.14 kB / 4.839 GB, free: 263.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009601/11.63, allocations: 1.004 MB / 4.84 GB, free: 262.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009073/11.63, allocations: 101.6 kB / 4.84 GB, free: 262.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.003e-05/11.63, allocations: 26.06 kB / 4.84 GB, free: 262.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/11.63, allocations: 3 kB / 4.84 GB, free: 262.6 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001387/11.63, allocations: 0.731 MB / 4.841 GB, free: 262.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/11.63, allocations: 10.39 kB / 4.841 GB, free: 262.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005244/11.63, allocations: 206.2 kB / 4.841 GB, free: 262.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/11.63, allocations: 62.47 kB / 4.841 GB, free: 262.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003949/11.64, allocations: 3.16 MB / 4.844 GB, free: 261 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008694/11.64, allocations: 97.94 kB / 4.844 GB, free: 261 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-05/11.64, allocations: 24.03 kB / 4.844 GB, free: 261 MB / 0.8855 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_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.000803/11.64, allocations: 472.7 kB / 4.845 GB, free: 260.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/11.64, allocations: 101.8 kB / 4.845 GB, free: 260.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00152/11.64, allocations: 0.7143 MB / 4.845 GB, free: 260.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/11.64, allocations: 4.5 kB / 4.845 GB, free: 260.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/11.64, allocations: 1.406 kB / 4.845 GB, free: 260.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/11.64, allocations: 2.609 kB / 4.845 GB, free: 260.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003092/11.64, allocations: 1.601 MB / 4.847 GB, free: 260.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/11.64, allocations: 5.531 kB / 4.847 GB, free: 260.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/11.64, allocations: 36.11 kB / 4.847 GB, free: 260.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005264/11.64, allocations: 218.1 kB / 4.847 GB, free: 260.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.832e-05/11.65, allocations: 9.609 kB / 4.847 GB, free: 260.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00101/11.65, allocations: 0.9843 MB / 4.848 GB, free: 259.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/11.65, allocations: 2.219 kB / 4.848 GB, free: 259.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001546/11.65, allocations: 0.9202 MB / 4.849 GB, free: 259.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004857/11.65, allocations: 220 kB / 4.849 GB, free: 259.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/11.65, allocations: 8.969 kB / 4.849 GB, free: 259.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000544/11.65, allocations: 58.7 kB / 4.849 GB, free: 259.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/11.65, allocations: 33.5 kB / 4.849 GB, free: 259.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.189e-05/11.65, allocations: 13.08 kB / 4.849 GB, free: 259.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001319/11.65, allocations: 0.7828 MB / 4.85 GB, free: 259.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.41e-07/11.65, allocations: 0 / 4.85 GB, free: 259.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002131/11.65, allocations: 0.5167 MB / 4.851 GB, free: 259 MB / 0.8855 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.003362/11.66, allocations: 2.715 MB / 4.853 GB, free: 257.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002162/11.66, allocations: 1.054 MB / 4.854 GB, free: 257.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/11.66, allocations: 1.031 kB / 4.854 GB, free: 257.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00054/11.66, allocations: 237.3 kB / 4.855 GB, free: 257.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002063/11.66, allocations: 460.2 kB / 4.855 GB, free: 257.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01224/11.67, allocations: 9.807 MB / 4.865 GB, free: 251.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007095/11.67, allocations: 1.199 MB / 4.866 GB, free: 251.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00124/11.67, allocations: 326.2 kB / 4.866 GB, free: 251.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004251/11.68, allocations: 309.4 kB / 4.866 GB, free: 251.2 MB / 0.8855 GB Notification: Performance of SimCode: time 1.613e-06/11.68, allocations: 0 / 4.866 GB, free: 251.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07392/11.75, allocations: 42.5 MB / 4.908 GB, free: 250 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002108/11.75, allocations: 277.9 kB / 4.908 GB, free: 249.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.386/15.14, allocations: 0 / 4.908 GB, free: 249.6 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)