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.762/1.762, allocations: 292.6 MB / 307.5 MB, free: 5.215 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.001209/0.001209, allocations: 177.1 kB / 377.1 MB, free: 1.523 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.014/2.014, allocations: 205.4 MB / 0.6366 GB, free: 8.617 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.001099/0.001099, allocations: 89.91 kB / 0.7509 GB, free: 63.35 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004141/0.0004141, allocations: 8 kB / 0.8749 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.3535, allocations: 116.3 MB / 0.9884 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.438/6.792, allocations: 2.117 GB / 3.105 GB, free: 99.24 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003343/6.792, allocations: 96.45 kB / 3.105 GB, free: 99.15 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.13/9.922, allocations: 0.8052 GB / 3.911 GB, free: 7.566 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.473e-06/9.922, allocations: 0 / 3.911 GB, free: 7.566 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001856/9.922, allocations: 40.16 kB / 3.911 GB, free: 7.527 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.006406/9.928, allocations: 2.38 MB / 3.913 GB, free: 5.086 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.705e-05/9.928, allocations: 11.97 kB / 3.913 GB, free: 5.074 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002704/9.929, allocations: 156 kB / 3.913 GB, free: 4.914 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00287/9.932, allocations: 428.7 kB / 3.914 GB, free: 4.496 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004574/9.936, allocations: 1.854 MB / 3.915 GB, free: 2.59 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.225e-05/9.936, allocations: 85.94 kB / 3.915 GB, free: 2.504 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001661/9.937, allocations: 112 kB / 3.916 GB, free: 2.395 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002068/9.939, allocations: 1.179 MB / 3.917 GB, free: 1.168 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.768e-05/9.939, allocations: 4 kB / 3.917 GB, free: 1.164 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.673e-05/9.939, allocations: 44.34 kB / 3.917 GB, free: 1.121 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.789e-05/9.939, allocations: 37.95 kB / 3.917 GB, free: 1.082 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001655/9.94, allocations: 0.9095 MB / 3.918 GB, free: 176 kB / 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.008135/9.949, allocations: 4.941 MB / 3.923 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002161/9.951, allocations: 0.9462 MB / 3.923 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002667/9.951, allocations: 105.6 kB / 3.924 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001019/9.952, allocations: 484.5 kB / 3.924 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000765/9.953, allocations: 91.41 kB / 3.924 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=71): time 3.687e-06/9.953, allocations: 0 / 3.924 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of matching and sorting (n=71): time 0.003286/9.956, allocations: 1.291 MB / 3.925 GB, free: 7.906 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001363/9.956, allocations: 192.6 kB / 3.926 GB, free: 7.672 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001553/9.958, allocations: 1.029 MB / 3.927 GB, free: 6.633 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.365e-05/9.958, allocations: 45.7 kB / 3.927 GB, free: 6.582 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007011/9.959, allocations: 0.6499 MB / 3.927 GB, free: 5.926 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002426/9.959, allocations: 252.3 kB / 3.927 GB, free: 5.676 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-05/9.959, allocations: 20 kB / 3.928 GB, free: 5.656 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000159/9.959, allocations: 341.9 kB / 3.928 GB, free: 5.316 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007254/9.96, allocations: 337.8 kB / 3.928 GB, free: 4.988 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000985/9.961, allocations: 0.6309 MB / 3.929 GB, free: 4.23 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008559/9.962, allocations: 454.5 kB / 3.929 GB, free: 3.781 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/9.962, allocations: 0 / 3.929 GB, free: 3.781 MB / 0.9636 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002314/9.964, allocations: 1.147 MB / 3.93 GB, free: 2.621 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.001133/9.965, allocations: 2.08 MB / 3.932 GB, free: 420 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.802e-05/9.965, allocations: 8 kB / 3.932 GB, free: 412 kB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004185/9.966, allocations: 80.75 kB / 3.932 GB, free: 328 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009505/9.967, allocations: 199.7 kB / 3.933 GB, free: 128 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8521/10.82, allocations: 1.194 MB / 3.934 GB, free: 131 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00205/10.82, allocations: 106.5 kB / 3.934 GB, free: 131 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001454/10.82, allocations: 52.36 kB / 3.934 GB, free: 131 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/10.82, allocations: 3.156 kB / 3.934 GB, free: 131 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002407/10.82, allocations: 1.04 MB / 3.935 GB, free: 131 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.442e-05/10.82, allocations: 7.094 kB / 3.935 GB, free: 131 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000489/10.82, allocations: 109.7 kB / 3.935 GB, free: 131 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008121/10.82, allocations: 184.3 kB / 3.935 GB, free: 131 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004213/10.83, allocations: 2.74 MB / 3.938 GB, free: 129.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/10.83, allocations: 99.7 kB / 3.938 GB, free: 129.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/10.83, allocations: 48.72 kB / 3.938 GB, free: 129.3 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 () * 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.001215/10.83, allocations: 468.6 kB / 3.939 GB, free: 129.1 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002326/10.83, allocations: 138.3 kB / 3.939 GB, free: 129.1 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002243/10.83, allocations: 0.9784 MB / 3.94 GB, free: 129.1 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/10.83, allocations: 11.27 kB / 3.94 GB, free: 129.1 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/10.83, allocations: 5.078 kB / 3.94 GB, free: 129.1 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001752/10.84, allocations: 0.8712 MB / 3.94 GB, free: 128.9 MB / 0.9636 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.004787/10.84, allocations: 2.311 MB / 3.943 GB, free: 128.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/10.84, allocations: 0.5625 kB / 3.943 GB, free: 128.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008351/10.84, allocations: 167.6 kB / 3.943 GB, free: 128.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003207/10.84, allocations: 87.89 kB / 3.943 GB, free: 128.5 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-05/10.84, allocations: 22.97 kB / 3.943 GB, free: 128.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005776/10.84, allocations: 1.193 MB / 3.944 GB, free: 127.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/10.84, allocations: 3.656 kB / 3.944 GB, free: 127.4 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002704/10.85, allocations: 1.522 MB / 3.946 GB, free: 127.1 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007414/10.85, allocations: 278.2 kB / 3.946 GB, free: 126.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001539/10.85, allocations: 18.72 kB / 3.946 GB, free: 126.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009239/10.85, allocations: 105.3 kB / 3.946 GB, free: 126.9 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/10.85, allocations: 60.05 kB / 3.946 GB, free: 126.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.772e-05/10.85, allocations: 29.98 kB / 3.946 GB, free: 126.9 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001603/10.85, allocations: 0.7989 MB / 3.947 GB, free: 126.8 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.4e-07/10.85, allocations: 0 / 3.947 GB, free: 126.8 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.005083/10.85, allocations: 1.106 MB / 3.948 GB, free: 126.7 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) * 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.01003/10.86, allocations: 4.977 MB / 3.953 GB, free: 124.9 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.004609/10.87, allocations: 1.686 MB / 3.954 GB, free: 124.6 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/10.87, allocations: 1.312 kB / 3.954 GB, free: 124.6 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001214/10.87, allocations: 419.2 kB / 3.955 GB, free: 124.6 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003639/10.87, allocations: 0.6437 MB / 3.956 GB, free: 124.6 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008678/10.88, allocations: 7.438 MB / 3.963 GB, free: 119.4 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001315/10.88, allocations: 1.32 MB / 3.964 GB, free: 118.7 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002053/10.89, allocations: 328.5 kB / 3.964 GB, free: 118.7 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009174/10.89, allocations: 0.5575 MB / 3.965 GB, free: 118.7 MB / 0.9636 GB Notification: Performance of SimCode: time 1.734e-06/10.89, allocations: 0 / 3.965 GB, free: 118.7 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1923/11.08, allocations: 73.6 MB / 4.037 GB, free: 116.9 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/11.08, allocations: 233.7 kB / 4.037 GB, free: 116.6 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.211/16.29, allocations: 0 / 4.037 GB, free: 116.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)