Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.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.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.644/1.644, allocations: 289.9 MB / 297.4 MB, free: 6.32 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.001074/0.001073, allocations: 168.9 kB / 366.7 MB, free: 1.645 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.045/2.045, allocations: 205.2 MB / 0.626 GB, free: 7.18 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.0009378/0.000938, allocations: 96.92 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.219e-05/2.221e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6524/0.6525, allocations: 116.3 MB / 0.9733 GB, free: 76.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.007/1.659, allocations: 443.2 MB / 1.406 GB, free: 113.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/1.66, allocations: 90.14 kB / 1.406 GB, free: 113.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.311/6.97, allocations: 1.432 GB / 2.838 GB, free: 93.7 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.103e-06/6.97, allocations: 1.875 kB / 2.838 GB, free: 93.7 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.000522/6.971, allocations: 101.9 kB / 2.838 GB, free: 93.69 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.01052/6.981, allocations: 3.703 MB / 2.842 GB, free: 92.14 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/6.981, allocations: 11.5 kB / 2.842 GB, free: 92.14 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006932/6.988, allocations: 1.119 MB / 2.843 GB, free: 91.89 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05964/7.048, allocations: 28.32 MB / 2.871 GB, free: 90.22 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/7.048, allocations: 72.69 kB / 2.871 GB, free: 90.22 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005305/7.049, allocations: 143.7 kB / 2.871 GB, free: 90.22 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003384/7.052, allocations: 1.886 MB / 2.873 GB, free: 90.2 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00346/7.056, allocations: 2.268 MB / 2.875 GB, free: 89.85 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.219e-05/7.056, allocations: 5.594 kB / 2.875 GB, free: 89.85 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001958/7.056, allocations: 3.906 kB / 2.875 GB, free: 89.85 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.355e-05/7.056, allocations: 49.25 kB / 2.875 GB, free: 89.85 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.01667/7.073, allocations: 11.9 MB / 2.887 GB, free: 83.97 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002223/7.075, allocations: 1.995 MB / 2.889 GB, free: 83.94 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009072/7.076, allocations: 0.815 MB / 2.889 GB, free: 83.93 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00643/7.082, allocations: 4.046 MB / 2.893 GB, free: 82.05 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/7.082, allocations: 46.62 kB / 2.893 GB, free: 82.02 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001384/7.084, allocations: 169.1 kB / 2.894 GB, free: 81.95 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=119): time 3.477e-06/7.084, allocations: 2 kB / 2.894 GB, free: 81.95 MB / 0.9792 GB Notification: Performance of matching and sorting (n=119): time 0.006537/7.09, allocations: 2.708 MB / 2.896 GB, free: 81.63 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/7.09, allocations: 62.47 kB / 2.896 GB, free: 81.57 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003675/7.094, allocations: 2.574 MB / 2.899 GB, free: 81.27 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0002108/7.094, allocations: 32.27 kB / 2.899 GB, free: 81.24 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.00117/7.095, allocations: 1.749 MB / 2.9 GB, free: 80.74 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003237/7.096, allocations: 398.6 kB / 2.901 GB, free: 80.48 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/7.096, allocations: 0 / 2.901 GB, free: 80.48 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001149/7.096, allocations: 387.5 kB / 2.901 GB, free: 80.17 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00106/7.097, allocations: 0.8127 MB / 2.902 GB, free: 80.16 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001415/7.098, allocations: 1.6 MB / 2.904 GB, free: 79.21 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003171/7.102, allocations: 1.225 MB / 2.905 GB, free: 79.19 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.205e-05/7.102, allocations: 7.188 kB / 2.905 GB, free: 79.19 MB / 0.9792 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.006635/7.108, allocations: 3.261 MB / 2.908 GB, free: 78.87 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001524/7.11, allocations: 8.064 MB / 2.916 GB, free: 70.53 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.391e-05/7.11, allocations: 19.16 kB / 2.916 GB, free: 70.53 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001787/7.112, allocations: 0.8521 MB / 2.917 GB, free: 70.46 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/7.113, allocations: 389.2 kB / 2.917 GB, free: 70.46 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003958/7.117, allocations: 5.841 MB / 2.923 GB, free: 66.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003282/7.12, allocations: 177.2 kB / 2.923 GB, free: 66.29 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003254/7.121, allocations: 180.4 kB / 2.923 GB, free: 66.29 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/7.121, allocations: 6.625 kB / 2.923 GB, free: 66.29 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006385/7.127, allocations: 2.729 MB / 2.926 GB, free: 66.18 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-05/7.127, allocations: 17.97 kB / 2.926 GB, free: 66.18 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00245/7.13, allocations: 0.9979 MB / 2.927 GB, free: 66.11 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/7.131, allocations: 363.5 kB / 2.927 GB, free: 66.11 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01494/7.146, allocations: 13.68 MB / 2.94 GB, free: 58.15 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003169/7.149, allocations: 176.7 kB / 2.941 GB, free: 58.14 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000267/7.149, allocations: 152.4 kB / 2.941 GB, free: 58.14 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.000755/7.15, allocations: 178.6 kB / 2.941 GB, free: 58.02 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005753/7.156, allocations: 2.172 MB / 2.943 GB, free: 57.69 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004458/7.156, allocations: 344 kB / 2.943 GB, free: 57.5 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007269/7.164, allocations: 2.802 MB / 2.946 GB, free: 57.27 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.427e-05/7.164, allocations: 19.5 kB / 2.946 GB, free: 57.27 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/7.164, allocations: 2.812 kB / 2.946 GB, free: 57.27 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.085e-05/7.164, allocations: 9.484 kB / 2.946 GB, free: 57.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.01065/7.174, allocations: 4.676 MB / 2.951 GB, free: 56.75 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/7.175, allocations: 1.719 kB / 2.951 GB, free: 56.75 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/7.176, allocations: 217.6 kB / 2.951 GB, free: 56.75 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000997/7.177, allocations: 0.5105 MB / 2.951 GB, free: 56.69 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.531e-05/7.177, allocations: 32.8 kB / 2.951 GB, free: 56.69 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002775/7.179, allocations: 5.055 MB / 2.956 GB, free: 52.52 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/7.179, allocations: 3.656 kB / 2.956 GB, free: 52.52 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004898/7.184, allocations: 2.511 MB / 2.959 GB, free: 51.88 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001345/7.186, allocations: 0.5899 MB / 2.959 GB, free: 51.59 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003727/7.186, allocations: 3.594 kB / 2.959 GB, free: 51.59 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001837/7.188, allocations: 185.9 kB / 2.96 GB, free: 51.59 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/7.188, allocations: 96.67 kB / 2.96 GB, free: 51.58 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001411/7.188, allocations: 83.67 kB / 2.96 GB, free: 51.58 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.002693/7.191, allocations: 1.921 MB / 2.962 GB, free: 51.4 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.71e-07/7.191, allocations: 0 / 2.962 GB, free: 51.4 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.006717/7.198, allocations: 1.952 MB / 2.964 GB, free: 51.1 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.007497/7.205, allocations: 5.245 MB / 2.969 GB, free: 49.21 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.006411/7.212, allocations: 3.873 MB / 2.972 GB, free: 48.71 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/7.212, allocations: 0 / 2.972 GB, free: 48.71 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001373/7.213, allocations: 0.8193 MB / 2.973 GB, free: 48.7 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00791/7.221, allocations: 1.587 MB / 2.975 GB, free: 48.6 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01159/7.233, allocations: 5.298 MB / 2.98 GB, free: 47.16 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001614/7.234, allocations: 2.323 MB / 2.982 GB, free: 46.36 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.005619/7.24, allocations: 1.25 MB / 2.983 GB, free: 46.18 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001688/7.242, allocations: 1.548 MB / 2.985 GB, free: 46.17 MB / 0.9792 GB Notification: Performance of SimCode: time 6.82e-07/7.242, allocations: 0 / 2.985 GB, free: 46.17 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1838/7.425, allocations: 118 MB / 3.1 GB, free: 10.9 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/7.426, allocations: 171.2 kB / 3.1 GB, free: 10.71 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.529/13.95, allocations: 4 kB / 3.1 GB, free: 10.71 MB / 1.01 GB (rm -f Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.fmu > Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)