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.455/1.455, allocations: 249.3 MB / 261.8 MB, free: 5.812 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.001046/0.001046, allocations: 180.8 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.535/1.535, allocations: 205.2 MB / 0.572 GB, free: 10.71 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.0009059/0.0009061, allocations: 86.47 kB / 0.6764 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.773e-05/3.785e-05, allocations: 4 kB / 0.788 GB, free: 97.03 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.1984, allocations: 106.3 MB / 0.8919 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.551/5.749, allocations: 2.234 GB / 3.126 GB, free: 93.95 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/5.75, allocations: 94.02 kB / 3.126 GB, free: 93.91 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.328/9.078, allocations: 0.7819 GB / 3.908 GB, free: 145 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.755e-06/9.078, allocations: 7.375 kB / 3.908 GB, free: 145 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002375/9.078, allocations: 45.28 kB / 3.908 GB, free: 145 MB / 0.8855 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.008127/9.086, allocations: 1.888 MB / 3.91 GB, free: 144.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 8.726e-05/9.086, allocations: 9.469 kB / 3.91 GB, free: 144.4 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006713/9.087, allocations: 154 kB / 3.91 GB, free: 144.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004296/9.091, allocations: 427.5 kB / 3.911 GB, free: 144.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006176/9.097, allocations: 1.854 MB / 3.912 GB, free: 143.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/9.098, allocations: 80.44 kB / 3.912 GB, free: 143.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002857/9.098, allocations: 114.2 kB / 3.913 GB, free: 143.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002411/9.1, allocations: 1.14 MB / 3.914 GB, free: 143.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.783e-05/9.1, allocations: 1.062 kB / 3.914 GB, free: 143.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/9.1, allocations: 42.53 kB / 3.914 GB, free: 143.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-05/9.101, allocations: 37.52 kB / 3.914 GB, free: 143.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001696/9.102, allocations: 0.8186 MB / 3.915 GB, free: 143.8 MB / 0.8855 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.008147/9.11, allocations: 4.956 MB / 3.919 GB, free: 141.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001584/9.112, allocations: 0.8313 MB / 3.92 GB, free: 141.4 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005974/9.113, allocations: 358.7 kB / 3.921 GB, free: 141.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002051/9.113, allocations: 106.6 kB / 3.921 GB, free: 141.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008019/9.114, allocations: 441.2 kB / 3.921 GB, free: 141.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000955/9.115, allocations: 87.77 kB / 3.921 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=71): time 3.938e-06/9.115, allocations: 0 / 3.921 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=71): time 0.001775/9.116, allocations: 0.7891 MB / 3.922 GB, free: 141.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.354e-05/9.116, allocations: 192.6 kB / 3.922 GB, free: 140.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001722/9.118, allocations: 1.023 MB / 3.923 GB, free: 140.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000101/9.118, allocations: 49.58 kB / 3.923 GB, free: 140.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005948/9.119, allocations: 0.6562 MB / 3.924 GB, free: 140.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002047/9.119, allocations: 243.2 kB / 3.924 GB, free: 140.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.092e-05/9.119, allocations: 21.64 kB / 3.924 GB, free: 140.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.122e-05/9.119, allocations: 342.9 kB / 3.924 GB, free: 140.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005199/9.12, allocations: 293.1 kB / 3.925 GB, free: 140.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006714/9.121, allocations: 0.583 MB / 3.925 GB, free: 139.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006533/9.121, allocations: 402 kB / 3.926 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/9.121, allocations: 4.438 kB / 3.926 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001986/9.123, allocations: 1.043 MB / 3.927 GB, free: 139.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004466/9.124, allocations: 2.078 MB / 3.929 GB, free: 137.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.551e-05/9.124, allocations: 6.75 kB / 3.929 GB, free: 137.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003587/9.124, allocations: 71.53 kB / 3.929 GB, free: 137.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009458/9.125, allocations: 205.7 kB / 3.929 GB, free: 137.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006673/9.126, allocations: 1.202 MB / 3.93 GB, free: 136.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/9.127, allocations: 107.7 kB / 3.93 GB, free: 136.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/9.127, allocations: 48.72 kB / 3.93 GB, free: 136.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/9.127, allocations: 4.031 kB / 3.93 GB, free: 136.3 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001891/9.129, allocations: 0.9517 MB / 3.931 GB, free: 136.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.94e-05/9.129, allocations: 6.781 kB / 3.931 GB, free: 136.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004449/9.13, allocations: 103.9 kB / 3.931 GB, free: 136.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007595/9.13, allocations: 195.2 kB / 3.931 GB, free: 136.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003988/9.134, allocations: 2.671 MB / 3.934 GB, free: 134.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/9.136, allocations: 101.4 kB / 3.934 GB, free: 134.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001454/9.136, allocations: 49.7 kB / 3.934 GB, free: 134.6 MB / 0.8855 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.0004051/9.137, allocations: 160.9 kB / 3.934 GB, free: 134.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003692/9.137, allocations: 139.1 kB / 3.934 GB, free: 134.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002098/9.139, allocations: 0.9003 MB / 3.935 GB, free: 134.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/9.139, allocations: 10.09 kB / 3.935 GB, free: 134.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/9.139, allocations: 0 / 3.935 GB, free: 134.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001084/9.14, allocations: 0.7807 MB / 3.936 GB, free: 134.1 MB / 0.8855 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.003917/9.144, allocations: 2.219 MB / 3.938 GB, free: 133.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/9.144, allocations: 5.531 kB / 3.938 GB, free: 133.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008512/9.145, allocations: 167.6 kB / 3.938 GB, free: 133.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002722/9.146, allocations: 77.09 kB / 3.939 GB, free: 133.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.721e-05/9.146, allocations: 25.31 kB / 3.939 GB, free: 133.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005337/9.146, allocations: 1.193 MB / 3.94 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/9.146, allocations: 1.5 kB / 3.94 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002335/9.148, allocations: 1.385 MB / 3.941 GB, free: 132.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008807/9.149, allocations: 292 kB / 3.941 GB, free: 132 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001705/9.15, allocations: 18.78 kB / 3.941 GB, free: 132 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008861/9.15, allocations: 106.4 kB / 3.941 GB, free: 132 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/9.151, allocations: 52.89 kB / 3.942 GB, free: 132 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.527e-05/9.151, allocations: 28.38 kB / 3.942 GB, free: 132 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001218/9.152, allocations: 0.7905 MB / 3.942 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.7e-07/9.152, allocations: 0 / 3.942 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003979/9.156, allocations: 1.113 MB / 3.943 GB, free: 131.8 MB / 0.8855 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.006582/9.162, allocations: 4.833 MB / 3.948 GB, free: 129.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002912/9.165, allocations: 1.577 MB / 3.95 GB, free: 129.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/9.165, allocations: 4.922 kB / 3.95 GB, free: 129.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006428/9.166, allocations: 374 kB / 3.95 GB, free: 129.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003234/9.169, allocations: 0.643 MB / 3.951 GB, free: 129.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005423/9.175, allocations: 2.495 MB / 3.953 GB, free: 128.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007057/9.176, allocations: 1.322 MB / 3.954 GB, free: 128.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002162/9.178, allocations: 489.5 kB / 3.955 GB, free: 128.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006744/9.178, allocations: 0.5429 MB / 3.955 GB, free: 128.1 MB / 0.8855 GB Notification: Performance of SimCode: time 1.203e-06/9.178, allocations: 0 / 3.955 GB, free: 128.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1367/9.315, allocations: 82.13 MB / 4.036 GB, free: 125.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001677/9.315, allocations: 223.3 kB / 4.036 GB, free: 125 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.106/14.42, allocations: 0 / 4.036 GB, free: 125 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)