Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.ClosedLoop_y,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.742/1.742, allocations: 288.2 MB / 303.2 MB, free: 8.148 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.001587/0.001587, allocations: 185.1 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.085/2.085, allocations: 205.4 MB / 0.6305 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001069/0.001069, allocations: 95.45 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000464/0.000464, allocations: 15.14 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2901, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.903/6.193, allocations: 2.116 GB / 3.095 GB, free: 192.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/6.194, allocations: 95.95 kB / 3.096 GB, free: 192 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.008/9.201, allocations: 0.8052 GB / 3.901 GB, free: 98.14 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.753e-06/9.201, allocations: 0 / 3.901 GB, free: 98.14 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001785/9.202, allocations: 39.98 kB / 3.901 GB, free: 98.1 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: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.006991/9.209, allocations: 2.377 MB / 3.903 GB, free: 95.69 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/9.209, allocations: 8.031 kB / 3.903 GB, free: 95.68 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003237/9.209, allocations: 163.2 kB / 3.903 GB, free: 95.52 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002794/9.212, allocations: 425.4 kB / 3.904 GB, free: 95.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004342/9.216, allocations: 1.854 MB / 3.906 GB, free: 93.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.678e-05/9.216, allocations: 85.98 kB / 3.906 GB, free: 93.11 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001607/9.216, allocations: 111.9 kB / 3.906 GB, free: 93 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002035/9.218, allocations: 1.19 MB / 3.907 GB, free: 91.77 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.932e-05/9.218, allocations: 7.984 kB / 3.907 GB, free: 91.76 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.619e-05/9.219, allocations: 36 kB / 3.907 GB, free: 91.72 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.494e-05/9.219, allocations: 38 kB / 3.907 GB, free: 91.68 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001638/9.22, allocations: 0.9134 MB / 3.908 GB, free: 90.77 MB / 0.948 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.006148/9.226, allocations: 4.939 MB / 3.913 GB, free: 85.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001766/9.228, allocations: 0.9299 MB / 3.914 GB, free: 84.54 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000197/9.228, allocations: 109.7 kB / 3.914 GB, free: 84.42 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008175/9.229, allocations: 480.5 kB / 3.914 GB, free: 83.94 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006105/9.23, allocations: 91.33 kB / 3.914 GB, free: 83.85 MB / 0.948 GB Notification: Performance of pre-optimization done (n=71): time 4.468e-06/9.23, allocations: 0 / 3.914 GB, free: 83.85 MB / 0.948 GB Notification: Performance of matching and sorting (n=71): time 0.002832/9.233, allocations: 1.291 MB / 3.915 GB, free: 82.53 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.095e-05/9.233, allocations: 192.5 kB / 3.916 GB, free: 82.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/9.234, allocations: 1.025 MB / 3.917 GB, free: 81.26 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.905e-05/9.234, allocations: 49.69 kB / 3.917 GB, free: 81.21 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004737/9.235, allocations: 0.6537 MB / 3.917 GB, free: 80.55 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001705/9.235, allocations: 256.3 kB / 3.918 GB, free: 80.29 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.693e-05/9.235, allocations: 16 kB / 3.918 GB, free: 80.28 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001027/9.235, allocations: 343.1 kB / 3.918 GB, free: 79.94 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006232/9.236, allocations: 344.5 kB / 3.918 GB, free: 79.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007844/9.236, allocations: 0.6309 MB / 3.919 GB, free: 78.84 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007525/9.237, allocations: 455.3 kB / 3.919 GB, free: 78.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/9.237, allocations: 0 / 3.919 GB, free: 78.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001898/9.239, allocations: 1.154 MB / 3.92 GB, free: 77.23 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004758/9.24, allocations: 2.072 MB / 3.922 GB, free: 75.03 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.441e-05/9.24, allocations: 8 kB / 3.922 GB, free: 75.02 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003577/9.24, allocations: 80.73 kB / 3.923 GB, free: 74.94 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008611/9.241, allocations: 191.8 kB / 3.923 GB, free: 74.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006458/9.241, allocations: 1.212 MB / 3.924 GB, free: 73.49 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/9.243, allocations: 103.9 kB / 3.924 GB, free: 73.39 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/9.243, allocations: 47.98 kB / 3.924 GB, free: 73.34 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/9.243, allocations: 4 kB / 3.924 GB, free: 73.34 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001857/9.245, allocations: 1.049 MB / 3.925 GB, free: 72.28 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/9.245, allocations: 8 kB / 3.925 GB, free: 72.27 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004043/9.245, allocations: 105 kB / 3.925 GB, free: 72.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006639/9.246, allocations: 187.7 kB / 3.925 GB, free: 71.98 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00373/9.25, allocations: 2.728 MB / 3.928 GB, free: 69.04 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/9.251, allocations: 103.8 kB / 3.928 GB, free: 68.94 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.858e-05/9.251, allocations: 51.38 kB / 3.928 GB, free: 68.89 MB / 0.948 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 () * Number of clocked 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.001086/9.252, allocations: 468.8 kB / 3.929 GB, free: 68.43 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002024/9.253, allocations: 134.3 kB / 3.929 GB, free: 68.29 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001951/9.255, allocations: 0.9839 MB / 3.93 GB, free: 67.29 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/9.255, allocations: 8 kB / 3.93 GB, free: 67.28 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/9.255, allocations: 0 / 3.93 GB, free: 67.28 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001444/9.256, allocations: 0.8836 MB / 3.931 GB, free: 66.36 MB / 0.948 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.003826/9.26, allocations: 2.309 MB / 3.933 GB, free: 63.96 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/9.26, allocations: 4 kB / 3.933 GB, free: 63.96 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007603/9.261, allocations: 167.7 kB / 3.933 GB, free: 63.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002782/9.261, allocations: 84.94 kB / 3.933 GB, free: 63.71 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.487e-05/9.261, allocations: 19.98 kB / 3.933 GB, free: 63.69 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005029/9.261, allocations: 1.205 MB / 3.934 GB, free: 62.44 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/9.262, allocations: 0 / 3.934 GB, free: 62.44 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002351/9.264, allocations: 1.521 MB / 3.936 GB, free: 60.86 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005929/9.264, allocations: 283.3 kB / 3.936 GB, free: 60.56 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/9.265, allocations: 16 kB / 3.936 GB, free: 60.54 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008426/9.265, allocations: 103.8 kB / 3.936 GB, free: 60.44 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/9.266, allocations: 48.48 kB / 3.936 GB, free: 60.39 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.364e-05/9.266, allocations: 28.11 kB / 3.936 GB, free: 60.36 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001031/9.267, allocations: 0.8038 MB / 3.937 GB, free: 59.56 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/9.267, allocations: 0 / 3.937 GB, free: 59.56 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003438/9.27, allocations: 1.103 MB / 3.938 GB, free: 58.46 MB / 0.948 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) * Number of clocked states: 0 () * 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.007146/9.277, allocations: 4.997 MB / 3.943 GB, free: 53.23 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003243/9.281, allocations: 1.677 MB / 3.945 GB, free: 51.51 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/9.281, allocations: 4 kB / 3.945 GB, free: 51.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008283/9.281, allocations: 415 kB / 3.945 GB, free: 51.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002992/9.284, allocations: 0.6465 MB / 3.946 GB, free: 50.46 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007165/9.292, allocations: 7.433 MB / 3.953 GB, free: 42.86 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007783/9.292, allocations: 1.319 MB / 3.954 GB, free: 41.51 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001597/9.294, allocations: 323.4 kB / 3.954 GB, free: 41.19 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006727/9.295, allocations: 0.5579 MB / 3.955 GB, free: 40.63 MB / 0.948 GB Notification: Performance of SimCode: time 7.41e-07/9.295, allocations: 0 / 3.955 GB, free: 40.63 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8331/10.13, allocations: 73.6 MB / 4.027 GB, free: 165.1 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002249/10.13, allocations: 252.4 kB / 4.027 GB, free: 164.8 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.243/15.37, allocations: 3.234 kB / 4.027 GB, free: 164.8 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Movers_Examples_ClosedLoop_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Movers_Examples_ClosedLoop_y.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)