Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.ClosedLoop_y,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Movers_Examples_ClosedLoop_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.ClosedLoop_y,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.857/2.857, allocations: 287.3 MB / 302.3 MB, free: 8.297 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.001772/0.001772, allocations: 190.9 kB / 370.8 MB, free: 10.86 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.221/2.221, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001267/0.001267, allocations: 92.34 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000532/0.0005323, allocations: 16.12 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2526, allocations: 115.3 MB / 0.9783 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.197/7.449, allocations: 2.116 GB / 3.094 GB, free: 136.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000393/7.45, allocations: 99.56 kB / 3.094 GB, free: 136.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.453/11.9, allocations: 0.8052 GB / 3.899 GB, free: 53.09 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.945e-06/11.9, allocations: 0 / 3.899 GB, free: 53.09 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002643/11.9, allocations: 36 kB / 3.899 GB, free: 53.06 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.009934/11.91, allocations: 2.371 MB / 3.902 GB, free: 50.64 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/11.91, allocations: 12.03 kB / 3.902 GB, free: 50.62 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006733/11.91, allocations: 148 kB / 3.902 GB, free: 50.47 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004571/11.92, allocations: 429.4 kB / 3.902 GB, free: 50.05 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007299/11.93, allocations: 1.858 MB / 3.904 GB, free: 48.14 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/11.93, allocations: 85.27 kB / 3.904 GB, free: 48.06 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003771/11.93, allocations: 111.9 kB / 3.904 GB, free: 47.95 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003694/11.93, allocations: 1.19 MB / 3.906 GB, free: 46.71 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.224e-05/11.93, allocations: 0 / 3.906 GB, free: 46.71 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001691/11.93, allocations: 40 kB / 3.906 GB, free: 46.67 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.112e-05/11.93, allocations: 34 kB / 3.906 GB, free: 46.64 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0034/11.93, allocations: 0.9134 MB / 3.906 GB, free: 45.72 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.01105/11.95, allocations: 4.948 MB / 3.911 GB, free: 40.43 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003275/11.95, allocations: 0.9331 MB / 3.912 GB, free: 39.47 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000281/11.95, allocations: 109.6 kB / 3.912 GB, free: 39.34 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001478/11.95, allocations: 492.6 kB / 3.913 GB, free: 38.85 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009985/11.95, allocations: 83.34 kB / 3.913 GB, free: 38.77 MB / 0.948 GB Notification: Performance of pre-optimization done (n=71): time 3.436e-06/11.95, allocations: 0 / 3.913 GB, free: 38.77 MB / 0.948 GB Notification: Performance of matching and sorting (n=71): time 0.005867/11.96, allocations: 1.299 MB / 3.914 GB, free: 37.45 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.887e-05/11.96, allocations: 192.6 kB / 3.914 GB, free: 37.21 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002194/11.96, allocations: 1.022 MB / 3.915 GB, free: 36.18 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003215/11.96, allocations: 45.7 kB / 3.915 GB, free: 36.13 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008293/11.96, allocations: 0.6615 MB / 3.916 GB, free: 35.46 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005004/11.96, allocations: 240.4 kB / 3.916 GB, free: 35.22 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/11.96, allocations: 16 kB / 3.916 GB, free: 35.21 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.00012/11.96, allocations: 345.9 kB / 3.917 GB, free: 34.86 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001368/11.96, allocations: 341.8 kB / 3.917 GB, free: 34.53 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001552/11.96, allocations: 0.6348 MB / 3.918 GB, free: 33.77 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001587/11.97, allocations: 447.3 kB / 3.918 GB, free: 33.33 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-05/11.97, allocations: 4 kB / 3.918 GB, free: 33.32 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.004257/11.97, allocations: 1.147 MB / 3.919 GB, free: 32.16 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004581/11.97, allocations: 2.089 MB / 3.921 GB, free: 29.95 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.217e-05/11.97, allocations: 4 kB / 3.921 GB, free: 29.95 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004714/11.97, allocations: 76.8 kB / 3.921 GB, free: 29.87 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001808/11.97, allocations: 203.7 kB / 3.921 GB, free: 29.67 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008941/11.97, allocations: 1.201 MB / 3.923 GB, free: 28.42 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00219/11.98, allocations: 103.9 kB / 3.923 GB, free: 28.32 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002034/11.98, allocations: 55.97 kB / 3.923 GB, free: 28.26 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/11.98, allocations: 4 kB / 3.923 GB, free: 28.26 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003477/11.98, allocations: 1.037 MB / 3.924 GB, free: 27.21 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.628e-05/11.98, allocations: 8 kB / 3.924 GB, free: 27.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007673/11.98, allocations: 109 kB / 3.924 GB, free: 27.09 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/11.98, allocations: 191.6 kB / 3.924 GB, free: 26.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005971/11.99, allocations: 2.728 MB / 3.927 GB, free: 23.97 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002148/11.99, allocations: 95.84 kB / 3.927 GB, free: 23.88 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001648/11.99, allocations: 47.98 kB / 3.927 GB, free: 23.83 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.0012/11.99, allocations: 472.8 kB / 3.927 GB, free: 23.36 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003888/11.99, allocations: 142.2 kB / 3.927 GB, free: 23.21 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003627/12, allocations: 0.9762 MB / 3.928 GB, free: 22.22 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/12, allocations: 4 kB / 3.928 GB, free: 22.22 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/12, allocations: 4 kB / 3.928 GB, free: 22.21 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002842/12, allocations: 0.8833 MB / 3.929 GB, free: 21.3 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.006889/12.01, allocations: 2.324 MB / 3.932 GB, free: 18.89 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-06/12.01, allocations: 0 / 3.932 GB, free: 18.89 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001507/12.01, allocations: 163.8 kB / 3.932 GB, free: 18.73 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004101/12.01, allocations: 84.91 kB / 3.932 GB, free: 18.64 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.597e-05/12.01, allocations: 19.98 kB / 3.932 GB, free: 18.62 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000687/12.01, allocations: 1.189 MB / 3.933 GB, free: 17.38 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/12.01, allocations: 160 / 3.933 GB, free: 17.38 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004686/12.01, allocations: 1.532 MB / 3.934 GB, free: 15.79 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001128/12.01, allocations: 283.3 kB / 3.935 GB, free: 15.49 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004709/12.02, allocations: 19.98 kB / 3.935 GB, free: 15.47 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002101/12.02, allocations: 103.8 kB / 3.935 GB, free: 15.37 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000251/12.02, allocations: 48.45 kB / 3.935 GB, free: 15.32 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/12.02, allocations: 31.98 kB / 3.935 GB, free: 15.29 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001712/12.02, allocations: 0.7921 MB / 3.936 GB, free: 14.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.72e-07/12.02, allocations: 8 kB / 3.936 GB, free: 14.49 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0047/12.02, allocations: 1.107 MB / 3.937 GB, free: 13.38 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.0107/12.04, allocations: 4.978 MB / 3.942 GB, free: 8.188 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005877/12.04, allocations: 1.691 MB / 3.943 GB, free: 6.445 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/12.04, allocations: 1 kB / 3.943 GB, free: 6.445 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001614/12.04, allocations: 427.2 kB / 3.944 GB, free: 6.027 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005147/12.05, allocations: 0.6362 MB / 3.944 GB, free: 5.391 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00992/12.06, allocations: 7.432 MB / 3.952 GB, free: 13.79 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001391/12.06, allocations: 1.323 MB / 3.953 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002497/12.06, allocations: 331.3 kB / 3.953 GB, free: 12.11 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001268/12.06, allocations: 0.5579 MB / 3.954 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of SimCode: time 1.242e-06/12.06, allocations: 0 / 3.954 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9326/13, allocations: 73.58 MB / 4.026 GB, free: 150 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002582/13, allocations: 243.5 kB / 4.026 GB, free: 149.7 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.153/19.15, allocations: 0 / 4.026 GB, free: 149.7 MB / 0.9636 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Movers_Examples_ClosedLoop_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Movers_Examples_ClosedLoop_y.fmu > Buildings_8.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)