Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.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.ClosedLoop_y,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_Examples_ClosedLoop_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.ClosedLoop_y,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.661/1.661, allocations: 289.7 MB / 302.2 MB, free: 2.145 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.001119/0.001119, allocations: 184.6 kB / 371.6 MB, free: 3.395 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.908/1.908, allocations: 205.1 MB / 0.6309 GB, free: 11.8 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.0009153/0.000915, allocations: 93.53 kB / 0.745 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.379e-05/4.39e-05, allocations: 4 kB / 0.8663 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2739, allocations: 116.3 MB / 0.9799 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.81/6.084, allocations: 2.117 GB / 3.097 GB, free: 77.61 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/6.085, allocations: 91.52 kB / 3.097 GB, free: 77.57 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.479/9.563, allocations: 0.8044 GB / 3.901 GB, free: 9.027 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.042e-06/9.563, allocations: 3.938 kB / 3.901 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0003164/9.564, allocations: 39.98 kB / 3.901 GB, free: 8.984 MB / 0.9636 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.007443/9.571, allocations: 1.874 MB / 3.903 GB, free: 7.055 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.586e-05/9.571, allocations: 12.03 kB / 3.903 GB, free: 7.043 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007314/9.572, allocations: 152 kB / 3.903 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003927/9.576, allocations: 425.4 kB / 3.904 GB, free: 6.469 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006315/9.582, allocations: 1.843 MB / 3.905 GB, free: 4.57 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/9.582, allocations: 86 kB / 3.906 GB, free: 4.488 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004929/9.583, allocations: 107.9 kB / 3.906 GB, free: 4.383 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003376/9.586, allocations: 1.132 MB / 3.907 GB, free: 3.199 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.427e-05/9.586, allocations: 4.281 kB / 3.907 GB, free: 3.195 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002299/9.587, allocations: 51.94 kB / 3.907 GB, free: 3.145 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.254e-05/9.587, allocations: 30 kB / 3.907 GB, free: 3.117 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002037/9.589, allocations: 0.8083 MB / 3.908 GB, free: 2.305 MB / 0.9636 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.8517/10.44, allocations: 4.939 MB / 3.912 GB, free: 134 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002216/10.44, allocations: 0.8302 MB / 3.913 GB, free: 133.9 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008159/10.44, allocations: 360.7 kB / 3.914 GB, free: 133.9 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003178/10.44, allocations: 108.1 kB / 3.914 GB, free: 133.8 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001263/10.45, allocations: 436 kB / 3.914 GB, free: 133.8 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001342/10.45, allocations: 84.52 kB / 3.914 GB, free: 133.8 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=71): time 1.317e-05/10.45, allocations: 0 / 3.914 GB, free: 133.8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=71): time 0.002756/10.45, allocations: 0.7941 MB / 3.915 GB, free: 133.7 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/10.45, allocations: 189.6 kB / 3.915 GB, free: 133.5 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003917/10.45, allocations: 1.017 MB / 3.916 GB, free: 133.3 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002349/10.45, allocations: 47.14 kB / 3.916 GB, free: 133.3 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001517/10.46, allocations: 0.6579 MB / 3.917 GB, free: 133.1 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004524/10.46, allocations: 245.8 kB / 3.917 GB, free: 133 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/10.46, allocations: 17.06 kB / 3.917 GB, free: 133 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002047/10.46, allocations: 344 kB / 3.917 GB, free: 132.7 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/10.46, allocations: 296.8 kB / 3.918 GB, free: 132.7 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001479/10.46, allocations: 0.5877 MB / 3.918 GB, free: 132.3 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00133/10.46, allocations: 395.8 kB / 3.919 GB, free: 132.3 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.029e-05/10.46, allocations: 4.5 kB / 3.919 GB, free: 132.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003332/10.46, allocations: 1.055 MB / 3.92 GB, free: 132.1 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.001001/10.46, allocations: 2.075 MB / 3.922 GB, free: 130 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-05/10.46, allocations: 12.53 kB / 3.922 GB, free: 130 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005486/10.46, allocations: 72.11 kB / 3.922 GB, free: 130 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/10.47, allocations: 198.9 kB / 3.922 GB, free: 130 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008202/10.47, allocations: 1.209 MB / 3.923 GB, free: 128.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/10.47, allocations: 100 kB / 3.923 GB, free: 128.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/10.47, allocations: 50.23 kB / 3.923 GB, free: 128.9 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/10.47, allocations: 7.531 kB / 3.923 GB, free: 128.9 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002424/10.47, allocations: 0.9497 MB / 3.924 GB, free: 128.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.317e-05/10.47, allocations: 6.859 kB / 3.924 GB, free: 128.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005142/10.47, allocations: 105.6 kB / 3.924 GB, free: 128.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008329/10.47, allocations: 190.2 kB / 3.925 GB, free: 128.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00471/10.48, allocations: 2.674 MB / 3.927 GB, free: 127.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001655/10.48, allocations: 99.69 kB / 3.927 GB, free: 127.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/10.48, allocations: 48.09 kB / 3.927 GB, free: 127.1 MB / 0.9636 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.0004213/10.48, allocations: 158.7 kB / 3.927 GB, free: 127 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003138/10.48, allocations: 138.8 kB / 3.928 GB, free: 126.9 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00256/10.48, allocations: 0.8959 MB / 3.928 GB, free: 126.9 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/10.48, allocations: 9.062 kB / 3.928 GB, free: 126.9 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/10.48, allocations: 0 / 3.928 GB, free: 126.9 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001575/10.48, allocations: 0.7961 MB / 3.929 GB, free: 126.7 MB / 0.9636 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.005458/10.49, allocations: 2.223 MB / 3.931 GB, free: 126.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/10.49, allocations: 2.766 kB / 3.931 GB, free: 126.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008793/10.49, allocations: 168.6 kB / 3.932 GB, free: 126.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003101/10.49, allocations: 84.62 kB / 3.932 GB, free: 126.2 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.495e-05/10.49, allocations: 17.45 kB / 3.932 GB, free: 126.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006123/10.49, allocations: 1.197 MB / 3.933 GB, free: 125.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/10.49, allocations: 1.062 kB / 3.933 GB, free: 125.1 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002537/10.49, allocations: 1.383 MB / 3.934 GB, free: 124.7 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007351/10.49, allocations: 287.2 kB / 3.934 GB, free: 124.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/10.49, allocations: 19.41 kB / 3.934 GB, free: 124.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008728/10.5, allocations: 97.77 kB / 3.935 GB, free: 124.6 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001724/10.5, allocations: 55.55 kB / 3.935 GB, free: 124.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.435e-05/10.5, allocations: 29.34 kB / 3.935 GB, free: 124.6 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001375/10.5, allocations: 0.7831 MB / 3.935 GB, free: 124.5 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.41e-07/10.5, allocations: 0 / 3.935 GB, free: 124.5 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004077/10.5, allocations: 1.098 MB / 3.936 GB, free: 124.4 MB / 0.9636 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.007865/10.51, allocations: 4.855 MB / 3.941 GB, free: 122.6 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003292/10.51, allocations: 1.596 MB / 3.943 GB, free: 122.2 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.105e-05/10.51, allocations: 0.875 kB / 3.943 GB, free: 122.2 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0007588/10.51, allocations: 373.8 kB / 3.943 GB, free: 122.2 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003829/10.52, allocations: 0.6394 MB / 3.944 GB, free: 122.2 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006642/10.52, allocations: 2.477 MB / 3.946 GB, free: 121.6 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001315/10.53, allocations: 1.319 MB / 3.947 GB, free: 120.9 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.00232/10.53, allocations: 494.8 kB / 3.948 GB, free: 120.9 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007916/10.53, allocations: 0.5384 MB / 3.948 GB, free: 120.9 MB / 0.9636 GB Notification: Performance of SimCode: time 2.425e-06/10.53, allocations: 0 / 3.948 GB, free: 120.9 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1772/10.71, allocations: 82.01 MB / 4.029 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001954/10.71, allocations: 208.6 kB / 4.029 GB, free: 118.6 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.221/15.93, allocations: 0 / 4.029 GB, free: 118.6 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Movers_Examples_ClosedLoop_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Movers_Examples_ClosedLoop_y.fmu > Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)