Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.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.Validation.SpeedControlled_y_linear,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear",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.723/1.723, allocations: 289.9 MB / 297.4 MB, free: 6.367 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.001355/0.001355, allocations: 184.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 1.863/1.863, allocations: 205.2 MB / 0.626 GB, free: 7.168 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.000916/0.0009164, allocations: 91.83 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.284e-05/3.297e-05, allocations: 4 kB / 0.8598 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.813/0.813, allocations: 116.3 MB / 0.9733 GB, free: 75.98 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.184/1.997, allocations: 439.3 MB / 1.402 GB, free: 117.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/1.998, allocations: 90.97 kB / 1.402 GB, free: 117.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.946/4.944, allocations: 0.7602 GB / 2.163 GB, free: 147.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.783e-06/4.944, allocations: 0 / 2.163 GB, free: 147.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003702/4.944, allocations: 53.55 kB / 2.163 GB, free: 147.3 MB / 0.948 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.005585/4.95, allocations: 1.974 MB / 2.165 GB, free: 146.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/4.95, allocations: 14.78 kB / 2.165 GB, free: 146.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00321/4.953, allocations: 0.5489 MB / 2.165 GB, free: 146.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02926/4.982, allocations: 14.02 MB / 2.179 GB, free: 141.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/4.982, allocations: 34.12 kB / 2.179 GB, free: 141.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004545/4.983, allocations: 72.47 kB / 2.179 GB, free: 141.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002686/4.986, allocations: 0.8586 MB / 2.18 GB, free: 141.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002953/4.989, allocations: 1.07 MB / 2.181 GB, free: 140.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.004e-05/4.989, allocations: 0 / 2.181 GB, free: 140.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001329/4.989, allocations: 7.922 kB / 2.181 GB, free: 140.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.989e-05/4.989, allocations: 22.59 kB / 2.181 GB, free: 140.8 MB / 0.948 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.008024/4.997, allocations: 5.583 MB / 2.186 GB, free: 137 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/4.998, allocations: 0.8064 MB / 2.187 GB, free: 136.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004111/4.999, allocations: 353.5 kB / 2.187 GB, free: 136.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003496/5.002, allocations: 2.735 MB / 2.19 GB, free: 134.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/5.002, allocations: 42.59 kB / 2.19 GB, free: 134.4 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005043/5.003, allocations: 61.5 kB / 2.19 GB, free: 134.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=59): time 2.886e-06/5.003, allocations: 2.562 kB / 2.19 GB, free: 134.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=59): time 0.002434/5.005, allocations: 0.9767 MB / 2.191 GB, free: 134 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/5.005, allocations: 59.78 kB / 2.191 GB, free: 133.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001524/5.007, allocations: 1.185 MB / 2.192 GB, free: 133.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.23e-05/5.007, allocations: 31.98 kB / 2.192 GB, free: 133.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005704/5.008, allocations: 0.8484 MB / 2.193 GB, free: 132.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/5.008, allocations: 201.4 kB / 2.193 GB, free: 132.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-05/5.008, allocations: 0 / 2.193 GB, free: 132.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.817e-05/5.008, allocations: 344.8 kB / 2.194 GB, free: 132.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003821/5.008, allocations: 302.8 kB / 2.194 GB, free: 132.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006313/5.009, allocations: 0.732 MB / 2.195 GB, free: 131.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001515/5.01, allocations: 0.5087 MB / 2.195 GB, free: 131.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/5.01, allocations: 3.625 kB / 2.195 GB, free: 131.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.003116/5.014, allocations: 1.335 MB / 2.197 GB, free: 130.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008828/5.014, allocations: 4.333 MB / 2.201 GB, free: 126.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/5.014, allocations: 11.03 kB / 2.201 GB, free: 126.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005721/5.015, allocations: 209.7 kB / 2.201 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007332/5.016, allocations: 213.6 kB / 2.201 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001193/5.017, allocations: 1.869 MB / 2.203 GB, free: 124.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/5.018, allocations: 81.98 kB / 2.203 GB, free: 124.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/5.018, allocations: 82.53 kB / 2.203 GB, free: 124.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/5.018, allocations: 3.938 kB / 2.203 GB, free: 124.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002823/5.021, allocations: 1.073 MB / 2.204 GB, free: 124.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/5.021, allocations: 10.91 kB / 2.204 GB, free: 124.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000501/5.022, allocations: 211.9 kB / 2.204 GB, free: 124.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006196/5.022, allocations: 199.8 kB / 2.205 GB, free: 124.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00412/5.027, allocations: 3.737 MB / 2.208 GB, free: 121 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/5.028, allocations: 76.8 kB / 2.208 GB, free: 121 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/5.028, allocations: 75.56 kB / 2.208 GB, free: 121 MB / 0.948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumFixDp.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: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.0003482/5.028, allocations: 135.8 kB / 2.209 GB, free: 120.9 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002281/5.031, allocations: 0.8893 MB / 2.209 GB, free: 120.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/5.031, allocations: 164.9 kB / 2.21 GB, free: 120.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002483/5.033, allocations: 1.185 MB / 2.211 GB, free: 120 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/5.033, allocations: 6.188 kB / 2.211 GB, free: 120 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/5.033, allocations: 3.719 kB / 2.211 GB, free: 120 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/5.033, allocations: 5.609 kB / 2.211 GB, free: 120 MB / 0.948 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.004361/5.038, allocations: 2.265 MB / 2.213 GB, free: 119 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/5.038, allocations: 2.562 kB / 2.213 GB, free: 119 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004842/5.038, allocations: 111.3 kB / 2.213 GB, free: 119 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003771/5.039, allocations: 162.3 kB / 2.213 GB, free: 118.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.387e-05/5.039, allocations: 14.38 kB / 2.213 GB, free: 118.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000917/5.04, allocations: 1.792 MB / 2.215 GB, free: 117.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/5.04, allocations: 0 / 2.215 GB, free: 117.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002413/5.042, allocations: 1.228 MB / 2.216 GB, free: 116.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006323/5.043, allocations: 333 kB / 2.217 GB, free: 116.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000156/5.043, allocations: 3.844 kB / 2.217 GB, free: 116.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007503/5.044, allocations: 73.59 kB / 2.217 GB, free: 116.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/5.044, allocations: 57.17 kB / 2.217 GB, free: 116.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.078e-05/5.044, allocations: 35.25 kB / 2.217 GB, free: 116.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001289/5.045, allocations: 0.8998 MB / 2.218 GB, free: 116 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.01e-07/5.045, allocations: 0 / 2.218 GB, free: 116 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003538/5.049, allocations: 1.016 MB / 2.219 GB, free: 115.7 MB / 0.948 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 () * 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.005023/5.054, allocations: 3.359 MB / 2.222 GB, free: 113.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002677/5.056, allocations: 1.514 MB / 2.223 GB, free: 113.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/5.056, allocations: 0 / 2.223 GB, free: 113.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006339/5.057, allocations: 394.3 kB / 2.224 GB, free: 113.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00337/5.06, allocations: 0.6693 MB / 2.224 GB, free: 113.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005419/5.066, allocations: 2.531 MB / 2.227 GB, free: 111.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008043/5.067, allocations: 1.428 MB / 2.228 GB, free: 110.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002459/5.069, allocations: 0.5769 MB / 2.229 GB, free: 110.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007418/5.07, allocations: 0.6604 MB / 2.229 GB, free: 110 MB / 0.948 GB Notification: Performance of SimCode: time 1.162e-06/5.07, allocations: 0 / 2.229 GB, free: 110 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1025/5.172, allocations: 54.46 MB / 2.283 GB, free: 61.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002259/5.173, allocations: 172.6 kB / 2.283 GB, free: 60.91 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.221/9.394, allocations: 0 / 2.283 GB, free: 60.91 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear.fmu > Buildings_8_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe 2>&1)