Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.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.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.37/1.37, allocations: 249.5 MB / 257 MB, free: 6.926 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.001051/0.001051, allocations: 179.2 kB / 316.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.422/1.422, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.0008874/0.0008874, allocations: 78.55 kB / 0.6714 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.671e-05/1.674e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2004, allocations: 106.4 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.43/1.631, allocations: 435.6 MB / 1.311 GB, free: 257.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/1.631, allocations: 93.16 kB / 1.311 GB, free: 257.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.224/6.855, allocations: 1.393 GB / 2.704 GB, free: 87.72 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.593e-06/6.855, allocations: 0 / 2.704 GB, free: 87.72 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0008279/6.856, allocations: 101.9 kB / 2.704 GB, free: 87.71 MB / 0.9167 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.01242/6.869, allocations: 3.694 MB / 2.708 GB, free: 86.19 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/6.869, allocations: 12.84 kB / 2.708 GB, free: 86.19 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007505/6.876, allocations: 1.122 MB / 2.709 GB, free: 85.95 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05851/6.935, allocations: 27.64 MB / 2.736 GB, free: 84.27 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002014/6.935, allocations: 70.75 kB / 2.736 GB, free: 84.27 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001073/6.936, allocations: 143.2 kB / 2.736 GB, free: 84.27 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004828/6.941, allocations: 1.887 MB / 2.738 GB, free: 84.25 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004881/6.946, allocations: 2.265 MB / 2.74 GB, free: 83.89 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.651e-05/6.946, allocations: 1.562 kB / 2.74 GB, free: 83.89 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002067/6.946, allocations: 7.734 kB / 2.74 GB, free: 83.89 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.212e-05/6.946, allocations: 49.47 kB / 2.74 GB, free: 83.89 MB / 0.9167 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.01737/6.963, allocations: 11.86 MB / 2.752 GB, free: 78.04 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002371/6.966, allocations: 1.994 MB / 2.754 GB, free: 78 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009345/6.967, allocations: 0.8175 MB / 2.755 GB, free: 78 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006886/6.974, allocations: 4.039 MB / 2.759 GB, free: 76.11 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/6.974, allocations: 42.28 kB / 2.759 GB, free: 76.07 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001565/6.975, allocations: 173.2 kB / 2.759 GB, free: 76 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=119): time 3.597e-06/6.975, allocations: 0 / 2.759 GB, free: 76 MB / 0.9167 GB Notification: Performance of matching and sorting (n=119): time 0.006713/6.982, allocations: 2.707 MB / 2.761 GB, free: 75.68 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/6.982, allocations: 67.25 kB / 2.762 GB, free: 75.62 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00455/6.987, allocations: 2.575 MB / 2.764 GB, free: 75.32 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0006472/6.987, allocations: 29.61 kB / 2.764 GB, free: 75.29 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001384/6.989, allocations: 1.753 MB / 2.766 GB, free: 74.79 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004654/6.989, allocations: 394 kB / 2.766 GB, free: 74.53 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/6.989, allocations: 1.094 kB / 2.766 GB, free: 74.53 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001148/6.989, allocations: 380.1 kB / 2.767 GB, free: 74.22 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001098/6.991, allocations: 0.8177 MB / 2.767 GB, free: 74.22 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001364/6.992, allocations: 1.598 MB / 2.769 GB, free: 73.27 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003176/6.995, allocations: 1.226 MB / 2.77 GB, free: 73.24 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.145e-05/6.995, allocations: 2.844 kB / 2.77 GB, free: 73.24 MB / 0.9167 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.0077/7.003, allocations: 3.265 MB / 2.773 GB, free: 72.92 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.002275/7.005, allocations: 8.059 MB / 2.781 GB, free: 64.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.96e-05/7.005, allocations: 17.78 kB / 2.781 GB, free: 64.58 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001992/7.007, allocations: 0.8516 MB / 2.782 GB, free: 64.52 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001783/7.009, allocations: 391.8 kB / 2.782 GB, free: 64.52 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004168/7.013, allocations: 5.839 MB / 2.788 GB, free: 60.36 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003749/7.017, allocations: 180.3 kB / 2.788 GB, free: 60.35 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004349/7.017, allocations: 176.6 kB / 2.788 GB, free: 60.35 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/7.018, allocations: 3.969 kB / 2.788 GB, free: 60.35 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00659/7.024, allocations: 2.73 MB / 2.791 GB, free: 60.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.81e-05/7.024, allocations: 22.75 kB / 2.791 GB, free: 60.23 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00236/7.027, allocations: 0.9854 MB / 2.792 GB, free: 60.17 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/7.028, allocations: 366.5 kB / 2.792 GB, free: 60.17 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01517/7.043, allocations: 13.68 MB / 2.806 GB, free: 52.21 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003645/7.047, allocations: 175 kB / 2.806 GB, free: 52.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003926/7.047, allocations: 155.3 kB / 2.806 GB, free: 52.2 MB / 0.9167 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.0007828/7.048, allocations: 176.1 kB / 2.806 GB, free: 52.08 MB / 0.9167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006794/7.055, allocations: 2.172 MB / 2.808 GB, free: 51.73 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001063/7.056, allocations: 345.8 kB / 2.809 GB, free: 51.54 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007536/7.063, allocations: 2.793 MB / 2.811 GB, free: 51.3 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.136e-05/7.063, allocations: 18.91 kB / 2.811 GB, free: 51.3 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/7.063, allocations: 3.953 kB / 2.811 GB, free: 51.3 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.524e-05/7.063, allocations: 7.453 kB / 2.811 GB, free: 51.3 MB / 0.9167 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.009665/7.073, allocations: 4.657 MB / 2.816 GB, free: 50.78 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/7.073, allocations: 0 / 2.816 GB, free: 50.78 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009866/7.074, allocations: 217.1 kB / 2.816 GB, free: 50.78 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001002/7.075, allocations: 0.5145 MB / 2.817 GB, free: 50.72 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.263e-05/7.075, allocations: 29.23 kB / 2.817 GB, free: 50.72 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002937/7.078, allocations: 5.053 MB / 2.822 GB, free: 46.55 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/7.078, allocations: 2.438 kB / 2.822 GB, free: 46.55 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005373/7.084, allocations: 2.516 MB / 2.824 GB, free: 45.91 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001885/7.086, allocations: 0.5924 MB / 2.825 GB, free: 45.61 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004328/7.086, allocations: 3.406 kB / 2.825 GB, free: 45.61 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001843/7.088, allocations: 189 kB / 2.825 GB, free: 45.61 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/7.088, allocations: 88.22 kB / 2.825 GB, free: 45.61 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001568/7.088, allocations: 79.05 kB / 2.825 GB, free: 45.61 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.002929/7.091, allocations: 1.923 MB / 2.827 GB, free: 45.43 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.51e-07/7.091, allocations: 2.25 kB / 2.827 GB, free: 45.43 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.007111/7.098, allocations: 1.901 MB / 2.829 GB, free: 45.13 MB / 0.9167 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.007411/7.106, allocations: 5.226 MB / 2.834 GB, free: 43.25 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.006237/7.112, allocations: 3.866 MB / 2.838 GB, free: 42.75 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/7.112, allocations: 0 / 2.838 GB, free: 42.75 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.00136/7.113, allocations: 0.8217 MB / 2.839 GB, free: 42.73 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007394/7.121, allocations: 1.59 MB / 2.84 GB, free: 42.67 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01211/7.133, allocations: 5.277 MB / 2.845 GB, free: 41.24 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002121/7.135, allocations: 2.332 MB / 2.847 GB, free: 40.43 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.007776/7.143, allocations: 1.248 MB / 2.849 GB, free: 40.25 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003343/7.146, allocations: 1.542 MB / 2.85 GB, free: 40.24 MB / 0.9167 GB Notification: Performance of SimCode: time 1.843e-06/7.146, allocations: 0 / 2.85 GB, free: 40.24 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1831/7.329, allocations: 117.5 MB / 2.965 GB, free: 5.039 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002243/7.33, allocations: 183.2 kB / 2.965 GB, free: 4.852 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.374/13.7, allocations: 0 / 2.965 GB, free: 4.852 MB / 0.948 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)