Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.566/2.566, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001496/0.001495, allocations: 176.8 kB / 360.6 MB, free: 7.312 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.095/2.095, allocations: 205.3 MB / 0.6191 GB, free: 12.17 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.001044/0.001043, allocations: 95.94 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.42e-05/2.417e-05, allocations: 4 kB / 0.8509 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7894/0.7894, allocations: 115.3 MB / 0.9634 GB, free: 78.67 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.324/2.113, allocations: 442.1 MB / 1.395 GB, free: 126.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/2.113, allocations: 94.75 kB / 1.395 GB, free: 126.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.65/9.763, allocations: 1.432 GB / 2.827 GB, free: 104.5 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.934e-06/9.763, allocations: 0.75 kB / 2.827 GB, free: 104.5 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0008285/9.764, allocations: 110.7 kB / 2.827 GB, free: 104.5 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 529 * Number of variables: 529 Notification: Performance of Generate backend data structure: time 0.01344/9.778, allocations: 3.694 MB / 2.831 GB, free: 102.9 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/9.778, allocations: 10.59 kB / 2.831 GB, free: 102.9 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01111/9.789, allocations: 1.119 MB / 2.832 GB, free: 102.6 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09305/9.882, allocations: 28.33 MB / 2.86 GB, free: 100.9 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002067/9.882, allocations: 68.75 kB / 2.86 GB, free: 100.9 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001198/9.883, allocations: 144.7 kB / 2.86 GB, free: 100.9 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006461/9.89, allocations: 1.887 MB / 2.862 GB, free: 100.9 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00782/9.898, allocations: 2.273 MB / 2.864 GB, free: 100.6 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.885e-05/9.898, allocations: 0 / 2.864 GB, free: 100.6 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003922/9.898, allocations: 5.25 kB / 2.864 GB, free: 100.6 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.923e-05/9.898, allocations: 54.75 kB / 2.864 GB, free: 100.6 MB / 0.9792 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.02919/9.928, allocations: 11.89 MB / 2.876 GB, free: 94.7 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004483/9.932, allocations: 1.985 MB / 2.877 GB, free: 94.67 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001942/9.934, allocations: 0.8172 MB / 2.878 GB, free: 94.66 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01196/9.946, allocations: 4.062 MB / 2.882 GB, free: 92.77 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.276e-05/9.946, allocations: 52.5 kB / 2.882 GB, free: 92.73 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00246/9.949, allocations: 170.4 kB / 2.882 GB, free: 92.66 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=119): time 8.146e-06/9.949, allocations: 0.5625 kB / 2.882 GB, free: 92.66 MB / 0.9792 GB Notification: Performance of matching and sorting (n=119): time 0.01203/9.961, allocations: 2.709 MB / 2.885 GB, free: 92.34 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/9.961, allocations: 67.88 kB / 2.885 GB, free: 92.27 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006691/9.968, allocations: 2.582 MB / 2.888 GB, free: 91.98 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0007939/9.968, allocations: 25.7 kB / 2.888 GB, free: 91.95 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.002534/9.971, allocations: 1.749 MB / 2.889 GB, free: 91.45 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009424/9.972, allocations: 397.9 kB / 2.89 GB, free: 91.18 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002037/9.972, allocations: 0 / 2.89 GB, free: 91.18 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001709/9.972, allocations: 378 kB / 2.89 GB, free: 90.88 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002151/9.975, allocations: 0.8186 MB / 2.891 GB, free: 90.88 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002973/9.978, allocations: 1.604 MB / 2.893 GB, free: 89.92 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005633/9.983, allocations: 1.23 MB / 2.894 GB, free: 89.89 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.692e-05/9.983, allocations: 5.562 kB / 2.894 GB, free: 89.89 MB / 0.9792 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.01245/9.996, allocations: 3.259 MB / 2.897 GB, free: 89.57 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001745/9.998, allocations: 8.068 MB / 2.905 GB, free: 81.23 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.536e-05/9.998, allocations: 16.72 kB / 2.905 GB, free: 81.23 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003239/10, allocations: 0.8502 MB / 2.906 GB, free: 81.16 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00346/10, allocations: 389.9 kB / 2.906 GB, free: 81.16 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006979/10.01, allocations: 5.835 MB / 2.912 GB, free: 77 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005499/10.02, allocations: 177.7 kB / 2.912 GB, free: 76.99 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009552/10.02, allocations: 180.6 kB / 2.912 GB, free: 76.99 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/10.02, allocations: 5.188 kB / 2.912 GB, free: 76.99 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01161/10.03, allocations: 2.733 MB / 2.915 GB, free: 76.88 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-05/10.03, allocations: 18.84 kB / 2.915 GB, free: 76.88 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004366/10.03, allocations: 0.9935 MB / 2.916 GB, free: 76.82 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002733/10.04, allocations: 366.6 kB / 2.916 GB, free: 76.82 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02537/10.06, allocations: 13.67 MB / 2.929 GB, free: 68.87 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004687/10.07, allocations: 179.9 kB / 2.93 GB, free: 68.86 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000782/10.07, allocations: 152.6 kB / 2.93 GB, free: 68.86 MB / 0.9792 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum3.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum2.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 179 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 5,1 4,1 5,1 4,1 5,1 4,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0009403/10.07, allocations: 175.2 kB / 2.93 GB, free: 68.73 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01004/10.08, allocations: 2.178 MB / 2.932 GB, free: 68.39 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00134/10.08, allocations: 343.3 kB / 2.932 GB, free: 68.2 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01282/10.09, allocations: 2.8 MB / 2.935 GB, free: 67.96 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.816e-05/10.09, allocations: 19.27 kB / 2.935 GB, free: 67.96 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/10.09, allocations: 2.906 kB / 2.935 GB, free: 67.96 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.407e-05/10.09, allocations: 7.312 kB / 2.935 GB, free: 67.96 MB / 0.9792 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 postOpt removeSimpleEquations (simulation): time 0.01679/10.11, allocations: 4.672 MB / 2.94 GB, free: 67.44 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.691e-05/10.11, allocations: 0 / 2.94 GB, free: 67.44 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002054/10.11, allocations: 217 kB / 2.94 GB, free: 67.44 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00192/10.11, allocations: 0.5085 MB / 2.94 GB, free: 67.38 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002964/10.11, allocations: 31.52 kB / 2.94 GB, free: 67.38 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004419/10.12, allocations: 5.067 MB / 2.945 GB, free: 63.21 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/10.12, allocations: 0 / 2.945 GB, free: 63.21 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01322/10.13, allocations: 2.513 MB / 2.948 GB, free: 62.57 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003315/10.14, allocations: 0.5971 MB / 2.948 GB, free: 62.27 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001518/10.14, allocations: 3.906 kB / 2.948 GB, free: 62.27 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004733/10.14, allocations: 179.8 kB / 2.949 GB, free: 62.27 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003347/10.14, allocations: 98.89 kB / 2.949 GB, free: 62.26 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000286/10.14, allocations: 84.94 kB / 2.949 GB, free: 62.26 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.005156/10.15, allocations: 1.919 MB / 2.951 GB, free: 62.08 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8.42e-07/10.15, allocations: 0 / 2.951 GB, free: 62.08 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.01227/10.16, allocations: 1.944 MB / 2.953 GB, free: 61.79 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 4,1 4,1 4,1 6,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01289/10.17, allocations: 5.231 MB / 2.958 GB, free: 59.87 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01036/10.18, allocations: 3.871 MB / 2.961 GB, free: 59.33 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/10.18, allocations: 0 / 2.961 GB, free: 59.33 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0026/10.19, allocations: 0.8247 MB / 2.962 GB, free: 59.3 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01225/10.2, allocations: 1.589 MB / 2.964 GB, free: 59.2 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01764/10.22, allocations: 5.296 MB / 2.969 GB, free: 57.74 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003256/10.22, allocations: 2.316 MB / 2.971 GB, free: 56.81 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.009952/10.23, allocations: 1.247 MB / 2.972 GB, free: 56.63 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003207/10.23, allocations: 1.542 MB / 2.974 GB, free: 55.38 MB / 0.9792 GB Notification: Performance of SimCode: time 2.585e-06/10.23, allocations: 0 / 2.974 GB, free: 55.38 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.051/11.28, allocations: 118 MB / 3.089 GB, free: 112.4 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002607/11.28, allocations: 182.4 kB / 3.089 GB, free: 112.3 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.209/20.49, allocations: 1.031 kB / 3.089 GB, free: 112.3 MB / 0.9948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.fmu > Buildings_8.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)