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.706/1.706, allocations: 289.7 MB / 302.2 MB, free: 2.129 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.001098/0.001098, allocations: 183 kB / 371.6 MB, free: 3.398 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.657/1.657, allocations: 205.2 MB / 0.6309 GB, free: 11.78 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.0009393/0.0009391, allocations: 95.78 kB / 0.745 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.357e-05/3.359e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2607, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.822/2.082, allocations: 443.9 MB / 1.413 GB, free: 254.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003797/2.083, allocations: 87.77 kB / 1.413 GB, free: 254.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.02/7.103, allocations: 1.441 GB / 2.854 GB, free: 480 kB / 0.9948 GB Notification: Performance of FrontEnd: time 2.254e-06/7.103, allocations: 0 / 2.854 GB, free: 480 kB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0007277/7.103, allocations: 103.9 kB / 2.854 GB, free: 376 kB / 0.9948 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 1.018/8.121, allocations: 3.691 MB / 2.858 GB, free: 90.7 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 6.586e-05/8.121, allocations: 11.66 kB / 2.858 GB, free: 90.7 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001688/8.123, allocations: 287.5 kB / 2.858 GB, free: 90.65 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009165/8.132, allocations: 1.125 MB / 2.859 GB, free: 90.41 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08222/8.215, allocations: 28.38 MB / 2.887 GB, free: 89.1 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000314/8.215, allocations: 183.4 kB / 2.887 GB, free: 89.09 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001101/8.216, allocations: 241.2 kB / 2.887 GB, free: 89.09 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005295/8.221, allocations: 2.572 MB / 2.89 GB, free: 88.72 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.328e-05/8.222, allocations: 4.812 kB / 2.89 GB, free: 88.72 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002646/8.222, allocations: 87.16 kB / 2.89 GB, free: 88.72 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.672e-05/8.222, allocations: 50.66 kB / 2.89 GB, free: 88.72 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003323/8.225, allocations: 1.759 MB / 2.892 GB, free: 88.7 MB / 0.9948 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.02245/8.248, allocations: 12.31 MB / 2.904 GB, free: 82.86 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002551/8.25, allocations: 1.428 MB / 2.905 GB, free: 82.83 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001011/8.251, allocations: 0.6445 MB / 2.906 GB, free: 82.82 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009172/8.26, allocations: 4.175 MB / 2.91 GB, free: 80.97 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/8.261, allocations: 46.59 kB / 2.91 GB, free: 80.93 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002448/8.263, allocations: 231.8 kB / 2.91 GB, free: 80.84 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=119): time 6.302e-06/8.263, allocations: 0 / 2.91 GB, free: 80.84 MB / 0.9948 GB Notification: Performance of matching and sorting (n=119): time 0.005455/8.269, allocations: 1.97 MB / 2.912 GB, free: 80.52 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/8.269, allocations: 70.2 kB / 2.912 GB, free: 80.46 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007879/8.276, allocations: 2.911 MB / 2.915 GB, free: 80.13 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009665/8.278, allocations: 60.64 kB / 2.915 GB, free: 80.1 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001801/8.279, allocations: 1.768 MB / 2.917 GB, free: 79.64 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008644/8.28, allocations: 409.3 kB / 2.917 GB, free: 79.38 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/8.28, allocations: 36.78 kB / 2.917 GB, free: 79.38 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001669/8.281, allocations: 383.6 kB / 2.918 GB, free: 79.07 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001253/8.282, allocations: 0.6609 MB / 2.918 GB, free: 79.07 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001723/8.284, allocations: 1.457 MB / 2.92 GB, free: 78.11 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/8.285, allocations: 0.8434 MB / 2.921 GB, free: 78.09 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.792e-05/8.285, allocations: 5.5 kB / 2.921 GB, free: 78.09 MB / 0.9948 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.006046/8.291, allocations: 2.674 MB / 2.923 GB, free: 77.75 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002361/8.294, allocations: 8.151 MB / 2.931 GB, free: 69.41 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-05/8.294, allocations: 18 kB / 2.931 GB, free: 69.41 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00201/8.296, allocations: 0.6338 MB / 2.932 GB, free: 69.35 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001925/8.298, allocations: 399.4 kB / 2.932 GB, free: 69.35 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003646/8.301, allocations: 5.108 MB / 2.937 GB, free: 65.19 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004756/8.306, allocations: 225.2 kB / 2.937 GB, free: 65.18 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007961/8.307, allocations: 177.8 kB / 2.937 GB, free: 65.18 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/8.307, allocations: 2.906 kB / 2.937 GB, free: 65.18 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006364/8.313, allocations: 2.745 MB / 2.94 GB, free: 65.07 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.225e-05/8.313, allocations: 19.5 kB / 2.94 GB, free: 65.07 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002996/8.316, allocations: 1.05 MB / 2.941 GB, free: 65.01 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001629/8.318, allocations: 368.3 kB / 2.942 GB, free: 65.01 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01782/8.336, allocations: 14.03 MB / 2.955 GB, free: 56.85 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004661/8.341, allocations: 212.2 kB / 2.955 GB, free: 56.84 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007497/8.341, allocations: 151.9 kB / 2.956 GB, free: 56.84 MB / 0.9948 GB 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.0009734/8.342, allocations: 226.6 kB / 2.956 GB, free: 56.72 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001526/8.344, allocations: 362.9 kB / 2.956 GB, free: 56.52 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008412/8.352, allocations: 2.842 MB / 2.959 GB, free: 56.3 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-05/8.352, allocations: 19.3 kB / 2.959 GB, free: 56.3 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/8.352, allocations: 3.438 kB / 2.959 GB, free: 56.3 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.368e-05/8.352, allocations: 9.328 kB / 2.959 GB, free: 56.3 MB / 0.9948 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.01342/8.366, allocations: 4.945 MB / 2.964 GB, free: 55.74 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/8.366, allocations: 0 / 2.964 GB, free: 55.74 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/8.367, allocations: 208.7 kB / 2.964 GB, free: 55.74 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00175/8.369, allocations: 0.6338 MB / 2.965 GB, free: 55.67 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001405/8.369, allocations: 52.25 kB / 2.965 GB, free: 55.67 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003167/8.372, allocations: 4.974 MB / 2.97 GB, free: 51.52 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/8.372, allocations: 5.906 kB / 2.97 GB, free: 51.52 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006103/8.378, allocations: 2.565 MB / 2.972 GB, free: 50.85 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002927/8.381, allocations: 0.6178 MB / 2.973 GB, free: 50.55 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001192/8.382, allocations: 24.66 kB / 2.973 GB, free: 50.55 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00319/8.386, allocations: 208.2 kB / 2.973 GB, free: 50.54 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002256/8.386, allocations: 91.48 kB / 2.973 GB, free: 50.54 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002014/8.386, allocations: 79.11 kB / 2.973 GB, free: 50.54 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.006317/8.392, allocations: 2.224 MB / 2.975 GB, free: 50.34 MB / 0.9948 GB Notification: Performance of sort global known variables: time 3e-07/8.392, allocations: 4.422 kB / 2.975 GB, free: 50.34 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01425/8.407, allocations: 2.028 MB / 2.977 GB, free: 50.15 MB / 0.9948 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.01393/8.421, allocations: 5.363 MB / 2.982 GB, free: 48.33 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01325/8.434, allocations: 3.797 MB / 2.986 GB, free: 47.81 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/8.434, allocations: 0 / 2.986 GB, free: 47.81 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002818/8.437, allocations: 0.8576 MB / 2.987 GB, free: 47.8 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01241/8.449, allocations: 1.701 MB / 2.989 GB, free: 47.77 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02178/8.471, allocations: 5.456 MB / 2.994 GB, free: 46.41 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0028/8.474, allocations: 2.318 MB / 2.996 GB, free: 45.65 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.008293/8.482, allocations: 1.283 MB / 2.997 GB, free: 45.62 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002845/8.485, allocations: 1.55 MB / 2.999 GB, free: 45.61 MB / 0.9948 GB Notification: Performance of SimCode: time 2.565e-06/8.485, allocations: 1.875 kB / 2.999 GB, free: 45.61 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.28/8.765, allocations: 139.5 MB / 3.135 GB, free: 37.93 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002947/8.766, allocations: 233.6 kB / 3.135 GB, free: 37.66 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.683/16.45, allocations: 0 / 3.135 GB, free: 37.66 MB / 0.9948 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)