Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.692/1.692, allocations: 289.9 MB / 297.4 MB, free: 6.43 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.00164/0.001641, allocations: 168.9 kB / 366.7 MB, free: 1.676 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.881/1.881, allocations: 205.2 MB / 0.626 GB, free: 7.16 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.0009058/0.0009059, allocations: 88.25 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.165e-05/2.168e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8049/0.805, allocations: 116.3 MB / 0.9733 GB, free: 76.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.858/6.663, allocations: 2.064 GB / 3.037 GB, free: 65.88 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000368/6.664, allocations: 92.61 kB / 3.037 GB, free: 65.79 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.238/13.9, allocations: 1.769 GB / 4.806 GB, free: 126.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.333e-06/13.9, allocations: 0 / 4.806 GB, free: 126.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.212e-05/13.9, allocations: 27.98 kB / 4.806 GB, free: 126.2 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.001777/13.9, allocations: 1.151 MB / 4.807 GB, free: 124.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/13.9, allocations: 11.97 kB / 4.807 GB, free: 124.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007912/13.9, allocations: 186.4 kB / 4.807 GB, free: 124.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001997/13.91, allocations: 1.077 MB / 4.808 GB, free: 123.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/13.91, allocations: 16 kB / 4.808 GB, free: 123.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.842e-05/13.91, allocations: 40 kB / 4.808 GB, free: 123.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006556/13.91, allocations: 470.3 kB / 4.809 GB, free: 123.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008318/13.91, allocations: 0.6688 MB / 4.809 GB, free: 122.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/13.91, allocations: 7.938 kB / 4.809 GB, free: 122.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.156e-05/13.91, allocations: 4 kB / 4.809 GB, free: 122.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/13.91, allocations: 12 kB / 4.809 GB, free: 122.3 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.003284/13.91, allocations: 4.469 MB / 4.814 GB, free: 117.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004768/13.91, allocations: 443.8 kB / 4.814 GB, free: 117.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002607/13.91, allocations: 240.7 kB / 4.814 GB, free: 116.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003703/13.91, allocations: 190.2 kB / 4.815 GB, free: 116.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003865/13.91, allocations: 262.4 kB / 4.815 GB, free: 116.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 4.748e-06/13.91, allocations: 0 / 4.815 GB, free: 116.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.001259/13.91, allocations: 497.6 kB / 4.815 GB, free: 115.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/13.91, allocations: 89.03 kB / 4.815 GB, free: 115.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/13.92, allocations: 0.8479 MB / 4.816 GB, free: 114.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.49e-05/13.92, allocations: 29.7 kB / 4.816 GB, free: 114.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003621/13.92, allocations: 488.8 kB / 4.817 GB, free: 114.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.271e-05/13.92, allocations: 102.5 kB / 4.817 GB, free: 114.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.966e-05/13.92, allocations: 0 / 4.817 GB, free: 114.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001114/13.92, allocations: 334 kB / 4.817 GB, free: 113.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/13.92, allocations: 180.8 kB / 4.817 GB, free: 113.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004564/13.92, allocations: 498.8 kB / 4.818 GB, free: 113.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002898/13.92, allocations: 265.7 kB / 4.818 GB, free: 112.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/13.92, allocations: 4 kB / 4.818 GB, free: 112.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007766/13.92, allocations: 0.6091 MB / 4.819 GB, free: 112.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004771/13.92, allocations: 2.127 MB / 4.821 GB, free: 109.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/13.92, allocations: 7.984 kB / 4.821 GB, free: 109.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/13.92, allocations: 12 kB / 4.821 GB, free: 109.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004389/13.92, allocations: 111.8 kB / 4.821 GB, free: 109.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/13.92, allocations: 15.92 kB / 4.821 GB, free: 109.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009168/13.92, allocations: 87.47 kB / 4.821 GB, free: 109.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.691e-05/13.92, allocations: 27.98 kB / 4.821 GB, free: 109.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/13.92, allocations: 4 kB / 4.821 GB, free: 109.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005474/13.92, allocations: 411.3 kB / 4.821 GB, free: 109.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/13.92, allocations: 4 kB / 4.821 GB, free: 109.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/13.92, allocations: 12 kB / 4.821 GB, free: 109.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003513/13.92, allocations: 112.6 kB / 4.821 GB, free: 109.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/13.92, allocations: 19.86 kB / 4.821 GB, free: 109.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006821/13.92, allocations: 71.92 kB / 4.821 GB, free: 109.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.875e-05/13.92, allocations: 24 kB / 4.822 GB, free: 109 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_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.0001629/13.92, allocations: 132.7 kB / 4.822 GB, free: 108.9 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004679/13.92, allocations: 412.3 kB / 4.822 GB, free: 108.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.946e-05/13.92, allocations: 94.78 kB / 4.822 GB, free: 108.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006537/13.92, allocations: 442.8 kB / 4.823 GB, free: 107.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/13.92, allocations: 4 kB / 4.823 GB, free: 107.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/13.92, allocations: 0 / 4.823 GB, free: 107.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/13.92, allocations: 7.953 kB / 4.823 GB, free: 107.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001607/13.92, allocations: 1.257 MB / 4.824 GB, free: 106.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/13.92, allocations: 0 / 4.824 GB, free: 106.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002532/13.92, allocations: 63.89 kB / 4.824 GB, free: 106.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/13.92, allocations: 7.953 kB / 4.824 GB, free: 106.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/13.92, allocations: 4 kB / 4.824 GB, free: 106.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/13.92, allocations: 8.219 kB / 4.824 GB, free: 106.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/13.92, allocations: 4 kB / 4.824 GB, free: 106.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005723/13.93, allocations: 0.6397 MB / 4.824 GB, free: 105.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003121/13.93, allocations: 207.9 kB / 4.825 GB, free: 105.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/13.93, allocations: 8 kB / 4.825 GB, free: 105.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004619/13.93, allocations: 55.78 kB / 4.825 GB, free: 105.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.838e-05/13.93, allocations: 23.97 kB / 4.825 GB, free: 105.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.369e-05/13.93, allocations: 15.94 kB / 4.825 GB, free: 105.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007364/13.93, allocations: 0.6611 MB / 4.825 GB, free: 104.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/13.93, allocations: 0 / 4.825 GB, free: 104.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001435/13.93, allocations: 455.4 kB / 4.826 GB, free: 104.4 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_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.002042/13.93, allocations: 2.576 MB / 4.828 GB, free: 101.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001036/13.93, allocations: 0.7599 MB / 4.829 GB, free: 100.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/13.93, allocations: 0 / 4.829 GB, free: 100.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002173/13.93, allocations: 179.8 kB / 4.829 GB, free: 100.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001933/13.93, allocations: 401.8 kB / 4.83 GB, free: 100.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/13.94, allocations: 1.588 MB / 4.831 GB, free: 98.72 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004965/13.94, allocations: 1.202 MB / 4.832 GB, free: 97.49 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001807/13.94, allocations: 0.7484 MB / 4.833 GB, free: 96.73 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002931/13.94, allocations: 307.3 kB / 4.833 GB, free: 96.44 MB / 0.948 GB Notification: Performance of SimCode: time 7.71e-07/13.94, allocations: 0 / 4.833 GB, free: 96.44 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06328/14, allocations: 29.87 MB / 4.863 GB, free: 66.71 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001966/14, allocations: 198.4 kB / 4.863 GB, free: 66.51 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.021/17.02, allocations: 4 kB / 4.863 GB, free: 66.51 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)