Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",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.531/1.531, allocations: 249.3 MB / 261.8 MB, free: 5.816 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 174.6 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.759/1.759, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.000971/0.0009713, allocations: 86.48 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.32e-05/4.324e-05, allocations: 8 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2562, allocations: 106.3 MB / 0.8919 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.941/6.197, allocations: 2.182 GB / 3.074 GB, free: 188 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002216/6.197, allocations: 92.78 kB / 3.074 GB, free: 187.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.781/11.98, allocations: 1.724 GB / 4.798 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.482e-06/11.98, allocations: 0 / 4.798 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.752e-05/11.98, allocations: 31.98 kB / 4.798 GB, free: 106.3 MB / 0.8698 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.001638/11.98, allocations: 1.144 MB / 4.799 GB, free: 105.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/11.98, allocations: 12.03 kB / 4.799 GB, free: 105.1 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.739e-05/11.98, allocations: 94.52 kB / 4.799 GB, free: 105 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006938/11.98, allocations: 186.5 kB / 4.799 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0019/11.98, allocations: 1.077 MB / 4.8 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.111e-05/11.98, allocations: 45 kB / 4.8 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.728e-05/11.98, allocations: 63.94 kB / 4.8 GB, free: 103.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008752/11.98, allocations: 0.7338 MB / 4.801 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/11.98, allocations: 7.938 kB / 4.801 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.672e-05/11.98, allocations: 24 kB / 4.801 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/11.98, allocations: 16 kB / 4.801 GB, free: 102.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006491/11.98, allocations: 482.5 kB / 4.801 GB, free: 102.3 MB / 0.8698 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.00335/11.99, allocations: 4.586 MB / 4.806 GB, free: 97.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004256/11.99, allocations: 382.5 kB / 4.806 GB, free: 96.91 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002517/11.99, allocations: 225.3 kB / 4.806 GB, free: 96.69 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002597/11.99, allocations: 202.2 kB / 4.807 GB, free: 96.46 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003093/11.99, allocations: 268 kB / 4.807 GB, free: 96.18 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=31): time 2.164e-06/11.99, allocations: 0 / 4.807 GB, free: 96.18 MB / 0.8698 GB Notification: Performance of matching and sorting (n=31): time 0.0007542/11.99, allocations: 465.6 kB / 4.807 GB, free: 95.72 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/11.99, allocations: 85.11 kB / 4.807 GB, free: 95.62 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009353/11.99, allocations: 0.9724 MB / 4.808 GB, free: 94.62 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.814e-05/11.99, allocations: 37.7 kB / 4.808 GB, free: 94.58 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002678/11.99, allocations: 492.5 kB / 4.809 GB, free: 94.09 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.278e-05/11.99, allocations: 114.5 kB / 4.809 GB, free: 93.98 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.944e-05/11.99, allocations: 4 kB / 4.809 GB, free: 93.98 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.995e-05/11.99, allocations: 330 kB / 4.809 GB, free: 93.65 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/11.99, allocations: 160.8 kB / 4.81 GB, free: 93.49 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003481/11.99, allocations: 496.7 kB / 4.81 GB, free: 92.87 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002785/11.99, allocations: 267.5 kB / 4.81 GB, free: 92.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/11.99, allocations: 8 kB / 4.81 GB, free: 92.59 MB / 0.8698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007436/11.99, allocations: 0.6311 MB / 4.811 GB, free: 91.95 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003753/11.99, allocations: 2.132 MB / 4.813 GB, free: 89.65 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/11.99, allocations: 15.91 kB / 4.813 GB, free: 89.64 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/11.99, allocations: 16 kB / 4.813 GB, free: 89.62 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004063/11.99, allocations: 103.8 kB / 4.813 GB, free: 89.52 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/11.99, allocations: 15.92 kB / 4.813 GB, free: 89.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007317/11.99, allocations: 107.4 kB / 4.813 GB, free: 89.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.395e-05/11.99, allocations: 27.98 kB / 4.813 GB, free: 89.37 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.853e-06/11.99, allocations: 4 kB / 4.813 GB, free: 89.37 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005511/12, allocations: 0.4901 MB / 4.814 GB, free: 88.87 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/12, allocations: 11.98 kB / 4.814 GB, free: 88.86 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.734e-06/12, allocations: 12.06 kB / 4.814 GB, free: 88.85 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003297/12, allocations: 99.88 kB / 4.814 GB, free: 88.75 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/12, allocations: 15.89 kB / 4.814 GB, free: 88.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005695/12, allocations: 103.5 kB / 4.814 GB, free: 88.63 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.281e-05/12, allocations: 23.94 kB / 4.814 GB, free: 88.61 MB / 0.8698 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001013/12, allocations: 144.8 kB / 4.814 GB, free: 88.46 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.752e-05/12, allocations: 98.78 kB / 4.814 GB, free: 88.36 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000614/12, allocations: 466.9 kB / 4.815 GB, free: 87.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/12, allocations: 4 kB / 4.815 GB, free: 87.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/12, allocations: 0 / 4.815 GB, free: 87.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/12, allocations: 7.938 kB / 4.815 GB, free: 87.89 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001465/12, allocations: 1.357 MB / 4.816 GB, free: 86.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/12, allocations: 3.953 kB / 4.816 GB, free: 86.45 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002285/12, allocations: 68.11 kB / 4.816 GB, free: 86.39 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/12, allocations: 4 kB / 4.816 GB, free: 86.38 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/12, allocations: 8 kB / 4.816 GB, free: 86.38 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/12, allocations: 4 kB / 4.816 GB, free: 86.37 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/12, allocations: 4 kB / 4.816 GB, free: 86.37 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005009/12, allocations: 0.6737 MB / 4.817 GB, free: 85.62 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002692/12, allocations: 211.8 kB / 4.817 GB, free: 85.39 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.461e-05/12, allocations: 8 kB / 4.817 GB, free: 85.38 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004507/12, allocations: 59.81 kB / 4.817 GB, free: 85.32 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.597e-05/12, allocations: 23.97 kB / 4.817 GB, free: 85.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/12, allocations: 19.92 kB / 4.817 GB, free: 85.28 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007482/12, allocations: 0.7688 MB / 4.818 GB, free: 84.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/12, allocations: 0 / 4.818 GB, free: 84.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001192/12, allocations: 491.5 kB / 4.818 GB, free: 84.02 MB / 0.8698 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001686/12, allocations: 2.473 MB / 4.821 GB, free: 81.49 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0009031/12, allocations: 0.7753 MB / 4.821 GB, free: 80.69 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/12, allocations: 4.688 kB / 4.821 GB, free: 80.68 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002205/12, allocations: 193.5 kB / 4.822 GB, free: 80.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001802/12.01, allocations: 452.5 kB / 4.822 GB, free: 80.05 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002261/12.01, allocations: 1.644 MB / 4.824 GB, free: 78.34 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004428/12.01, allocations: 1.195 MB / 4.825 GB, free: 77.11 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00169/12.01, allocations: 0.8425 MB / 4.826 GB, free: 76.26 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002816/12.01, allocations: 307.3 kB / 4.826 GB, free: 75.96 MB / 0.8698 GB Notification: Performance of SimCode: time 1.262e-06/12.01, allocations: 0 / 4.826 GB, free: 75.96 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05367/12.07, allocations: 42.95 MB / 4.868 GB, free: 33.22 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001978/12.07, allocations: 218.9 kB / 4.868 GB, free: 33 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.234/15.3, allocations: 8 kB / 4.868 GB, free: 32.99 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)