Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.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.ClosedLoop_y,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_ClosedLoop_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.ClosedLoop_y,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_ClosedLoop_y",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.427/1.427, allocations: 249.5 MB / 257 MB, free: 6.875 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.001065/0.001065, allocations: 172.9 kB / 316.3 MB, free: 3.238 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.587/1.587, allocations: 205.3 MB / 0.5671 GB, free: 15.91 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.0009102/0.0009099, allocations: 93.05 kB / 0.6714 GB, free: 5.027 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.925e-05/1.899e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2108, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.291/5.502, allocations: 2.234 GB / 3.12 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/5.502, allocations: 87.94 kB / 3.12 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.5/8.003, allocations: 0.7728 GB / 3.893 GB, free: 44.25 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.883e-06/8.003, allocations: 0 / 3.893 GB, free: 44.25 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001562/8.003, allocations: 40 kB / 3.893 GB, free: 44.21 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.004022/8.007, allocations: 1.881 MB / 3.895 GB, free: 42.28 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/8.007, allocations: 11.97 kB / 3.895 GB, free: 42.27 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002489/8.01, allocations: 429.4 kB / 3.895 GB, free: 41.85 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003731/8.013, allocations: 1.854 MB / 3.897 GB, free: 39.95 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.733e-05/8.013, allocations: 28 kB / 3.897 GB, free: 39.92 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/8.013, allocations: 68 kB / 3.897 GB, free: 39.85 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001289/8.015, allocations: 0.8076 MB / 3.898 GB, free: 39.05 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/8.016, allocations: 1.006 MB / 3.899 GB, free: 37.99 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/8.016, allocations: 0 / 3.899 GB, free: 37.99 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.262e-05/8.016, allocations: 0 / 3.899 GB, free: 37.99 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.875e-05/8.016, allocations: 34 kB / 3.899 GB, free: 37.96 MB / 0.8698 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.005239/8.022, allocations: 4.767 MB / 3.903 GB, free: 32.87 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/8.023, allocations: 0.8584 MB / 3.904 GB, free: 31.98 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004301/8.023, allocations: 362.9 kB / 3.905 GB, free: 31.62 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001777/8.023, allocations: 105.7 kB / 3.905 GB, free: 31.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000514/8.024, allocations: 420.2 kB / 3.905 GB, free: 31.09 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005067/8.024, allocations: 71.39 kB / 3.905 GB, free: 31.02 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=71): time 2.355e-06/8.024, allocations: 0 / 3.905 GB, free: 31.02 MB / 0.8698 GB Notification: Performance of matching and sorting (n=71): time 0.001628/8.026, allocations: 0.8548 MB / 3.906 GB, free: 30.15 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/8.026, allocations: 188.7 kB / 3.906 GB, free: 29.92 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000949/8.027, allocations: 0.8904 MB / 3.907 GB, free: 29.02 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.565e-05/8.027, allocations: 29.7 kB / 3.907 GB, free: 28.98 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000412/8.028, allocations: 0.665 MB / 3.908 GB, free: 28.31 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/8.028, allocations: 236.5 kB / 3.908 GB, free: 28.07 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/8.028, allocations: 0 / 3.908 GB, free: 28.07 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.048e-05/8.028, allocations: 345.9 kB / 3.908 GB, free: 27.73 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000383/8.028, allocations: 302.5 kB / 3.908 GB, free: 27.43 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005078/8.029, allocations: 0.5844 MB / 3.909 GB, free: 26.73 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007095/8.03, allocations: 418.4 kB / 3.909 GB, free: 26.32 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/8.03, allocations: 0 / 3.909 GB, free: 26.32 MB / 0.8698 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001517/8.031, allocations: 1.037 MB / 3.91 GB, free: 25.28 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003698/8.031, allocations: 2.072 MB / 3.912 GB, free: 23.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/8.031, allocations: 4 kB / 3.912 GB, free: 23.07 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003253/8.032, allocations: 100.8 kB / 3.913 GB, free: 22.97 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008212/8.033, allocations: 207.7 kB / 3.913 GB, free: 22.77 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006559/8.033, allocations: 1.271 MB / 3.914 GB, free: 21.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/8.034, allocations: 87.92 kB / 3.914 GB, free: 21.36 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-05/8.035, allocations: 47.98 kB / 3.914 GB, free: 21.31 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.799e-06/8.035, allocations: 4 kB / 3.914 GB, free: 21.31 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001512/8.036, allocations: 0.8508 MB / 3.915 GB, free: 20.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/8.036, allocations: 11.98 kB / 3.915 GB, free: 20.45 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000369/8.037, allocations: 96.78 kB / 3.915 GB, free: 20.35 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006588/8.037, allocations: 187.9 kB / 3.915 GB, free: 20.16 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003313/8.041, allocations: 2.599 MB / 3.918 GB, free: 17.37 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/8.042, allocations: 87.78 kB / 3.918 GB, free: 17.29 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.386e-05/8.042, allocations: 47.98 kB / 3.918 GB, free: 17.24 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 94 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002422/8.042, allocations: 128.7 kB / 3.918 GB, free: 17.11 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001213/8.043, allocations: 0.7766 MB / 3.919 GB, free: 16.32 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/8.043, allocations: 134.3 kB / 3.919 GB, free: 16.19 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001509/8.045, allocations: 0.8344 MB / 3.92 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/8.045, allocations: 8 kB / 3.92 GB, free: 15.33 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/8.045, allocations: 0 / 3.92 GB, free: 15.33 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001001/8.046, allocations: 0.7654 MB / 3.921 GB, free: 14.53 MB / 0.8698 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.003066/8.049, allocations: 2.069 MB / 3.923 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/8.049, allocations: 4 kB / 3.923 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007201/8.05, allocations: 163.9 kB / 3.923 GB, free: 12.21 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001561/8.05, allocations: 56.83 kB / 3.923 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.084e-05/8.05, allocations: 21.36 kB / 3.923 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004916/8.05, allocations: 1.197 MB / 3.924 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.339e-06/8.05, allocations: 4.031 kB / 3.924 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/8.052, allocations: 1.336 MB / 3.925 GB, free: 9.484 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004823/8.053, allocations: 283.4 kB / 3.926 GB, free: 9.188 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/8.053, allocations: 7.984 kB / 3.926 GB, free: 9.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007918/8.054, allocations: 87.86 kB / 3.926 GB, free: 9.094 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/8.054, allocations: 56.55 kB / 3.926 GB, free: 9.039 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-05/8.054, allocations: 31.98 kB / 3.926 GB, free: 9.008 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007863/8.055, allocations: 0.6815 MB / 3.926 GB, free: 8.324 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.2e-07/8.055, allocations: 0 / 3.926 GB, free: 8.324 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002858/8.057, allocations: 1.013 MB / 3.927 GB, free: 7.309 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (fan.vol.dynBal.U,fan.vol.dynBal.m,fan.vol.dynBal.mXi[1],fan.filter.x[1],fan.filter.x[2],conPID.I.y) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.005371/8.063, allocations: 4.933 MB / 3.932 GB, free: 2.152 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002118/8.065, allocations: 1.543 MB / 3.934 GB, free: 0.5625 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/8.065, allocations: 8.25 kB / 3.934 GB, free: 0.5547 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004826/8.065, allocations: 349.8 kB / 3.934 GB, free: 212 kB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002562/8.068, allocations: 0.5781 MB / 3.935 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004753/8.073, allocations: 2.397 MB / 3.937 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009526/8.074, allocations: 1.33 MB / 3.938 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001831/8.076, allocations: 466.8 kB / 3.939 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006855/8.076, allocations: 0.5422 MB / 3.939 GB, free: 10.81 MB / 0.8855 GB Notification: Performance of SimCode: time 8.82e-07/8.076, allocations: 0 / 3.939 GB, free: 10.81 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6466/8.723, allocations: 56.66 MB / 3.995 GB, free: 130.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001422/8.723, allocations: 174.8 kB / 3.995 GB, free: 130 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.046/12.77, allocations: 0 / 3.995 GB, free: 130 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_ClosedLoop_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_ClosedLoop_y.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)