Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Validation_SpeedControlled_y_linear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Validation_SpeedControlled_y_linear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.041/1.041, allocations: 143.3 MB / 158.3 MB, free: 5.801 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001975/0.001975, allocations: 181 kB / 191.5 MB, free: 5.758 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.742/1.742, allocations: 223.2 MB / 447.7 MB, free: 6.559 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009887/0.0009886, allocations: 92.31 kB / 0.5187 GB, free: 2.906 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001818/0.001818, allocations: 271.3 kB / 0.6005 GB, free: 48.97 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004427/0.0004428, allocations: 12 kB / 0.6929 GB, free: 2.211 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4563/0.4568, allocations: 82.77 MB / 0.7738 GB, free: 26.2 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9843/1.441, allocations: 396.6 MB / 1.161 GB, free: 7.324 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/1.441, allocations: 102 kB / 1.161 GB, free: 7.27 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.976/4.417, allocations: 0.7813 GB / 1.942 GB, free: 27.38 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.966e-06/4.417, allocations: 0 / 1.942 GB, free: 27.38 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002179/4.418, allocations: 56.12 kB / 1.942 GB, free: 27.32 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 0.006588/4.424, allocations: 2.58 MB / 1.945 GB, free: 24.68 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.881e-05/4.424, allocations: 11.97 kB / 1.945 GB, free: 24.67 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003822/4.425, allocations: 160.3 kB / 1.945 GB, free: 24.51 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002949/4.428, allocations: 0.5477 MB / 1.946 GB, free: 23.96 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02887/4.456, allocations: 14.39 MB / 1.96 GB, free: 9.402 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/4.457, allocations: 95.61 kB / 1.96 GB, free: 9.309 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002478/4.457, allocations: 119.9 kB / 1.96 GB, free: 9.191 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002624/4.46, allocations: 1.285 MB / 1.961 GB, free: 7.828 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.125e-05/4.46, allocations: 0 / 1.961 GB, free: 7.828 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/4.46, allocations: 44 kB / 1.961 GB, free: 7.785 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.433e-05/4.46, allocations: 24 kB / 1.961 GB, free: 7.762 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002395/4.462, allocations: 0.9878 MB / 1.962 GB, free: 6.773 MB / 0.698 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.008747/4.471, allocations: 5.784 MB / 1.968 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002126/4.473, allocations: 0.8225 MB / 1.969 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004377/4.477, allocations: 2.745 MB / 1.971 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.672e-05/4.478, allocations: 39.12 kB / 1.971 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006932/4.478, allocations: 87.25 kB / 1.972 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=59): time 3.096e-06/4.478, allocations: 0 / 1.972 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=59): time 0.004565/4.483, allocations: 1.566 MB / 1.973 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.813e-05/4.483, allocations: 55.97 kB / 1.973 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002219/4.485, allocations: 1.313 MB / 1.974 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001045/4.485, allocations: 45.7 kB / 1.974 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007632/4.486, allocations: 0.8613 MB / 1.975 GB, free: 8.664 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002032/4.486, allocations: 205 kB / 1.975 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.904e-05/4.486, allocations: 15.94 kB / 1.975 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001552/4.486, allocations: 345.9 kB / 1.976 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007569/4.487, allocations: 329.8 kB / 1.976 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/4.488, allocations: 0.7589 MB / 1.977 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000914/4.489, allocations: 425.9 kB / 1.977 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/4.489, allocations: 0 / 1.977 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.003399/4.493, allocations: 1.323 MB / 1.979 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.002503/4.495, allocations: 4.345 MB / 1.983 GB, free: 356 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.955e-05/4.495, allocations: 10.56 kB / 1.983 GB, free: 348 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/4.496, allocations: 213.1 kB / 1.983 GB, free: 128 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.524/5.02, allocations: 206.1 kB / 1.983 GB, free: 84.13 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001593/5.022, allocations: 1.815 MB / 1.985 GB, free: 82.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001875/5.024, allocations: 103 kB / 1.985 GB, free: 82.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000233/5.024, allocations: 81.48 kB / 1.985 GB, free: 82.59 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/5.024, allocations: 6.062 kB / 1.985 GB, free: 82.59 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003281/5.027, allocations: 1.167 MB / 1.986 GB, free: 82.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.337e-05/5.027, allocations: 14.45 kB / 1.986 GB, free: 82.56 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000847/5.028, allocations: 229.5 kB / 1.987 GB, free: 82.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007533/5.029, allocations: 205.7 kB / 1.987 GB, free: 82.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005097/5.034, allocations: 3.849 MB / 1.99 GB, free: 79.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/5.036, allocations: 103.9 kB / 1.991 GB, free: 79.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001931/5.036, allocations: 68.92 kB / 1.991 GB, free: 79.77 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 97 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 5,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.00138/5.037, allocations: 498.4 kB / 1.991 GB, free: 79.59 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000428/5.038, allocations: 163.6 kB / 1.991 GB, free: 79.59 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003322/5.041, allocations: 1.314 MB / 1.993 GB, free: 79.49 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/5.041, allocations: 11.67 kB / 1.993 GB, free: 79.49 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/5.041, allocations: 0 / 1.993 GB, free: 79.49 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/5.041, allocations: 7.75 kB / 1.993 GB, free: 79.48 MB / 0.7136 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.005095/5.046, allocations: 2.509 MB / 1.995 GB, free: 79.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/5.046, allocations: 4.062 kB / 1.995 GB, free: 79.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005143/5.047, allocations: 119.1 kB / 1.995 GB, free: 79.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006128/5.048, allocations: 198.7 kB / 1.995 GB, free: 79.07 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.024e-05/5.048, allocations: 24.02 kB / 1.995 GB, free: 79.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009892/5.049, allocations: 1.775 MB / 1.997 GB, free: 77.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/5.049, allocations: 10.16 kB / 1.997 GB, free: 77.52 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003002/5.052, allocations: 1.339 MB / 1.998 GB, free: 77.15 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008011/5.052, allocations: 337.1 kB / 1.999 GB, free: 76.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001704/5.053, allocations: 13.62 kB / 1.999 GB, free: 76.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008267/5.053, allocations: 79.31 kB / 1.999 GB, free: 76.96 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/5.054, allocations: 54.64 kB / 1.999 GB, free: 76.96 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.629e-05/5.054, allocations: 33.73 kB / 1.999 GB, free: 76.96 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001859/5.056, allocations: 1.012 MB / 2 GB, free: 76.85 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.8e-07/5.056, allocations: 0 / 2 GB, free: 76.85 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004141/5.06, allocations: 1.082 MB / 2.001 GB, free: 76.8 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.006038/5.066, allocations: 3.518 MB / 2.004 GB, free: 75.41 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0038/5.07, allocations: 1.636 MB / 2.006 GB, free: 75.3 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/5.07, allocations: 3.438 kB / 2.006 GB, free: 75.3 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001201/5.071, allocations: 471.2 kB / 2.006 GB, free: 75.29 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003161/5.074, allocations: 0.703 MB / 2.007 GB, free: 75.28 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008806/5.083, allocations: 11.55 MB / 2.018 GB, free: 66 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009271/5.084, allocations: 1.424 MB / 2.02 GB, free: 65.29 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002242/5.086, allocations: 423 kB / 2.02 GB, free: 65.27 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008711/5.087, allocations: 0.6831 MB / 2.021 GB, free: 65.26 MB / 0.7136 GB Notification: Performance of SimCode: time 3.006e-06/5.087, allocations: 1.656 kB / 2.021 GB, free: 65.26 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1055/5.192, allocations: 59.31 MB / 2.079 GB, free: 62.46 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001786/5.193, allocations: 270.9 kB / 2.079 GB, free: 62.11 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.274/9.467, allocations: 0 / 2.079 GB, free: 62.11 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Movers_Validation_SpeedControlled_y_linear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Movers_Validation_SpeedControlled_y_linear.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe 2>&1)