Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.62/1.62, allocations: 285.6 MB / 293.1 MB, free: 10.25 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.001142/0.001142, allocations: 176.9 kB / 361.4 MB, free: 6.863 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.646/1.646, allocations: 205.3 MB / 0.62 GB, free: 11.63 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.0009824/0.0009822, allocations: 93.23 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.864e-05/2.876e-05, allocations: 4 kB / 0.8518 GB, free: 2.629 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6938/0.6938, allocations: 115.3 MB / 0.9644 GB, free: 78.61 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.042/1.736, allocations: 442.3 MB / 1.396 GB, free: 125.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/1.737, allocations: 96.69 kB / 1.396 GB, free: 125.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.433/7.169, allocations: 1.432 GB / 2.828 GB, free: 101.8 MB / 0.9792 GB Notification: Performance of FrontEnd: time 3.577e-06/7.17, allocations: 0 / 2.828 GB, free: 101.8 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0008332/7.17, allocations: 107.9 kB / 2.828 GB, free: 101.8 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.01291/7.183, allocations: 3.7 MB / 2.832 GB, free: 100.2 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/7.183, allocations: 10.75 kB / 2.832 GB, free: 100.2 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007625/7.191, allocations: 1.128 MB / 2.833 GB, free: 99.95 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07058/7.262, allocations: 28.32 MB / 2.861 GB, free: 98.27 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003205/7.262, allocations: 70.81 kB / 2.861 GB, free: 98.27 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001734/7.264, allocations: 148 kB / 2.861 GB, free: 98.27 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00713/7.271, allocations: 1.884 MB / 2.863 GB, free: 98.25 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008208/7.279, allocations: 2.266 MB / 2.865 GB, free: 97.89 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.907e-05/7.279, allocations: 2.25 kB / 2.865 GB, free: 97.89 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005553/7.28, allocations: 7.891 kB / 2.865 GB, free: 97.89 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-05/7.28, allocations: 54.38 kB / 2.865 GB, free: 97.89 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.01825/7.298, allocations: 11.88 MB / 2.877 GB, free: 92.03 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002435/7.301, allocations: 1.994 MB / 2.879 GB, free: 91.99 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009642/7.302, allocations: 0.8164 MB / 2.879 GB, free: 91.98 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007063/7.309, allocations: 4.056 MB / 2.883 GB, free: 90.09 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/7.309, allocations: 47.38 kB / 2.884 GB, free: 90.05 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001502/7.31, allocations: 172.6 kB / 2.884 GB, free: 89.99 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=119): time 4.098e-06/7.31, allocations: 0 / 2.884 GB, free: 89.99 MB / 0.9792 GB Notification: Performance of matching and sorting (n=119): time 0.006615/7.317, allocations: 2.703 MB / 2.886 GB, free: 89.67 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/7.317, allocations: 65.88 kB / 2.886 GB, free: 89.6 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003681/7.321, allocations: 2.574 MB / 2.889 GB, free: 89.3 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0002415/7.321, allocations: 29.02 kB / 2.889 GB, free: 89.27 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001245/7.322, allocations: 1.762 MB / 2.891 GB, free: 88.77 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003501/7.323, allocations: 392.5 kB / 2.891 GB, free: 88.51 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/7.323, allocations: 0 / 2.891 GB, free: 88.51 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001097/7.323, allocations: 380.1 kB / 2.891 GB, free: 88.21 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001083/7.324, allocations: 0.8146 MB / 2.892 GB, free: 88.2 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001447/7.325, allocations: 1.598 MB / 2.894 GB, free: 87.25 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003181/7.329, allocations: 1.228 MB / 2.895 GB, free: 87.23 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.206e-05/7.329, allocations: 7.188 kB / 2.895 GB, free: 87.23 MB / 0.9792 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.006901/7.335, allocations: 3.258 MB / 2.898 GB, free: 86.91 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001454/7.337, allocations: 8.065 MB / 2.906 GB, free: 78.56 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.864e-05/7.337, allocations: 18 kB / 2.906 GB, free: 78.56 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001785/7.339, allocations: 0.854 MB / 2.907 GB, free: 78.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/7.34, allocations: 395.2 kB / 2.907 GB, free: 78.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00413/7.345, allocations: 5.833 MB / 2.913 GB, free: 74.34 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004287/7.349, allocations: 180.5 kB / 2.913 GB, free: 74.33 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004218/7.349, allocations: 184.4 kB / 2.913 GB, free: 74.33 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/7.349, allocations: 0 / 2.913 GB, free: 74.33 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008028/7.357, allocations: 2.726 MB / 2.916 GB, free: 74.21 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-05/7.357, allocations: 19.88 kB / 2.916 GB, free: 74.21 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002536/7.36, allocations: 0.9948 MB / 2.917 GB, free: 74.15 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/7.361, allocations: 368.3 kB / 2.917 GB, free: 74.15 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01605/7.377, allocations: 13.69 MB / 2.931 GB, free: 66.18 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003666/7.381, allocations: 177.5 kB / 2.931 GB, free: 66.16 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006954/7.382, allocations: 150.2 kB / 2.931 GB, free: 66.16 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.001218/7.383, allocations: 173.5 kB / 2.931 GB, free: 66.05 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00707/7.39, allocations: 2.171 MB / 2.933 GB, free: 65.7 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001011/7.391, allocations: 348.9 kB / 2.934 GB, free: 65.51 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008238/7.399, allocations: 2.801 MB / 2.936 GB, free: 65.27 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-05/7.399, allocations: 19.03 kB / 2.936 GB, free: 65.27 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/7.399, allocations: 3.953 kB / 2.936 GB, free: 65.27 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.257e-05/7.4, allocations: 9.844 kB / 2.936 GB, free: 65.27 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.01263/7.412, allocations: 4.661 MB / 2.941 GB, free: 64.76 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/7.412, allocations: 3.312 kB / 2.941 GB, free: 64.76 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/7.413, allocations: 216 kB / 2.941 GB, free: 64.76 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001114/7.414, allocations: 0.5125 MB / 2.942 GB, free: 64.69 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001249/7.415, allocations: 38.08 kB / 2.942 GB, free: 64.69 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003097/7.418, allocations: 5.052 MB / 2.947 GB, free: 60.53 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/7.418, allocations: 0 / 2.947 GB, free: 60.53 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005646/7.423, allocations: 2.517 MB / 2.949 GB, free: 59.88 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001997/7.425, allocations: 0.5929 MB / 2.95 GB, free: 59.59 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001095/7.426, allocations: 7.031 kB / 2.95 GB, free: 59.59 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002704/7.429, allocations: 185.4 kB / 2.95 GB, free: 59.59 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/7.429, allocations: 95.98 kB / 2.95 GB, free: 59.59 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001904/7.43, allocations: 78.34 kB / 2.95 GB, free: 59.59 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.004048/7.434, allocations: 1.925 MB / 2.952 GB, free: 59.41 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.71e-07/7.434, allocations: 0 / 2.952 GB, free: 59.41 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.009884/7.443, allocations: 1.94 MB / 2.954 GB, free: 59.11 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.01003/7.454, allocations: 5.246 MB / 2.959 GB, free: 57.17 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0076/7.461, allocations: 3.873 MB / 2.963 GB, free: 56.64 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/7.461, allocations: 0 / 2.963 GB, free: 56.64 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001792/7.463, allocations: 0.8193 MB / 2.963 GB, free: 56.6 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008991/7.472, allocations: 1.594 MB / 2.965 GB, free: 56.5 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01653/7.489, allocations: 5.297 MB / 2.97 GB, free: 55.05 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002992/7.492, allocations: 2.321 MB / 2.972 GB, free: 54.24 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.007243/7.499, allocations: 1.246 MB / 2.974 GB, free: 54.05 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002513/7.502, allocations: 1.54 MB / 2.975 GB, free: 52.8 MB / 0.9792 GB Notification: Performance of SimCode: time 9.41e-07/7.502, allocations: 0 / 2.975 GB, free: 52.8 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8787/8.38, allocations: 118 MB / 3.09 GB, free: 113.8 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001468/8.38, allocations: 187.1 kB / 3.091 GB, free: 113.6 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.48/14.86, allocations: 1.656 kB / 3.091 GB, free: 113.6 MB / 0.9948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)