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.445/1.445, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001359/0.001359, allocations: 183.9 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.24/2.24, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.001115/0.001116, allocations: 92.03 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004017/0.0004018, allocations: 17.25 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2927, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.33/6.623, allocations: 2.234 GB / 3.134 GB, free: 315.6 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003382/6.623, allocations: 98.19 kB / 3.134 GB, free: 315.6 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.703/9.326, allocations: 0.7828 GB / 3.917 GB, free: 150.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.825e-06/9.326, allocations: 0 / 3.917 GB, free: 150.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002755/9.327, allocations: 47.84 kB / 3.917 GB, free: 150.8 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.007627/9.334, allocations: 2.372 MB / 3.92 GB, free: 149.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/9.334, allocations: 7.812 kB / 3.92 GB, free: 149.9 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005938/9.335, allocations: 150.9 kB / 3.92 GB, free: 149.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003468/9.338, allocations: 430.5 kB / 3.92 GB, free: 149.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00596/9.344, allocations: 1.875 MB / 3.922 GB, free: 149.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/9.345, allocations: 90.09 kB / 3.922 GB, free: 149.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004359/9.345, allocations: 105.5 kB / 3.922 GB, free: 149.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002941/9.348, allocations: 1.194 MB / 3.923 GB, free: 149.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.716e-05/9.348, allocations: 2.25 kB / 3.923 GB, free: 149.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001502/9.348, allocations: 42.23 kB / 3.923 GB, free: 149.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.811e-05/9.348, allocations: 34.28 kB / 3.923 GB, free: 149.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002105/9.35, allocations: 0.9151 MB / 3.924 GB, free: 149.2 MB / 0.8855 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.007922/9.358, allocations: 4.959 MB / 3.929 GB, free: 147 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001954/9.36, allocations: 0.9413 MB / 3.93 GB, free: 146.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001916/9.36, allocations: 102.8 kB / 3.93 GB, free: 146.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008421/9.361, allocations: 485.5 kB / 3.931 GB, free: 146.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000852/9.362, allocations: 90.31 kB / 3.931 GB, free: 146.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=71): time 5.781e-06/9.362, allocations: 0 / 3.931 GB, free: 146.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=71): time 0.003279/9.365, allocations: 1.285 MB / 3.932 GB, free: 146.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.437e-05/9.366, allocations: 191.2 kB / 3.932 GB, free: 146.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00212/9.368, allocations: 1.037 MB / 3.933 GB, free: 146.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000176/9.368, allocations: 45.3 kB / 3.933 GB, free: 146.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005417/9.368, allocations: 0.663 MB / 3.934 GB, free: 145.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002121/9.369, allocations: 251.6 kB / 3.934 GB, free: 145.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.546e-05/9.369, allocations: 14.53 kB / 3.934 GB, free: 145.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.452e-05/9.369, allocations: 340.2 kB / 3.934 GB, free: 145.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006746/9.369, allocations: 346.4 kB / 3.935 GB, free: 145.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000805/9.37, allocations: 0.6265 MB / 3.935 GB, free: 145.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007377/9.371, allocations: 449.3 kB / 3.936 GB, free: 145 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/9.371, allocations: 3.812 kB / 3.936 GB, free: 145 MB / 0.8855 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.00211/9.373, allocations: 1.145 MB / 3.937 GB, free: 144.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005063/9.374, allocations: 2.079 MB / 3.939 GB, free: 142.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.747e-05/9.374, allocations: 7.406 kB / 3.939 GB, free: 142.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003709/9.374, allocations: 76.69 kB / 3.939 GB, free: 142.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008752/9.375, allocations: 200.3 kB / 3.939 GB, free: 142.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006887/9.376, allocations: 1.206 MB / 3.94 GB, free: 141.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/9.377, allocations: 105 kB / 3.941 GB, free: 141.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/9.377, allocations: 56.81 kB / 3.941 GB, free: 141.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/9.377, allocations: 3.969 kB / 3.941 GB, free: 141.6 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001951/9.379, allocations: 1.038 MB / 3.942 GB, free: 141.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.976e-05/9.379, allocations: 5.188 kB / 3.942 GB, free: 141.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004246/9.38, allocations: 107.7 kB / 3.942 GB, free: 141.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00068/9.38, allocations: 186.2 kB / 3.942 GB, free: 141.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003557/9.384, allocations: 2.73 MB / 3.945 GB, free: 139.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/9.385, allocations: 99.7 kB / 3.945 GB, free: 139.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.05e-05/9.386, allocations: 47.33 kB / 3.945 GB, free: 139.8 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 () * 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.001004/9.387, allocations: 479.1 kB / 3.945 GB, free: 139.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002618/9.387, allocations: 137.5 kB / 3.945 GB, free: 139.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001961/9.389, allocations: 0.9777 MB / 3.946 GB, free: 139.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/9.389, allocations: 14.67 kB / 3.946 GB, free: 139.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/9.389, allocations: 0 / 3.946 GB, free: 139.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001502/9.39, allocations: 0.8652 MB / 3.947 GB, free: 139.3 MB / 0.8855 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.004454/9.395, allocations: 2.322 MB / 3.949 GB, free: 138.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/9.395, allocations: 6.312 kB / 3.949 GB, free: 138.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007955/9.396, allocations: 166.3 kB / 3.95 GB, free: 138.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002614/9.396, allocations: 74.45 kB / 3.95 GB, free: 138.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.885e-05/9.396, allocations: 25.95 kB / 3.95 GB, free: 138.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004905/9.397, allocations: 1.194 MB / 3.951 GB, free: 137.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/9.397, allocations: 3.906 kB / 3.951 GB, free: 137.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002559/9.399, allocations: 1.518 MB / 3.952 GB, free: 137.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006741/9.4, allocations: 287.2 kB / 3.953 GB, free: 137.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/9.4, allocations: 20.59 kB / 3.953 GB, free: 137.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008907/9.401, allocations: 100.2 kB / 3.953 GB, free: 137.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/9.401, allocations: 60.3 kB / 3.953 GB, free: 137.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.959e-05/9.401, allocations: 31.38 kB / 3.953 GB, free: 137.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001167/9.402, allocations: 0.8002 MB / 3.954 GB, free: 137.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.9e-07/9.402, allocations: 0 / 3.954 GB, free: 137.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003387/9.406, allocations: 1.107 MB / 3.955 GB, free: 136.9 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) * 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.007047/9.413, allocations: 4.973 MB / 3.959 GB, free: 134.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003405/9.416, allocations: 1.674 MB / 3.961 GB, free: 134.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/9.416, allocations: 2.906 kB / 3.961 GB, free: 134.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008437/9.417, allocations: 419.1 kB / 3.962 GB, free: 134.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002929/9.42, allocations: 0.6484 MB / 3.962 GB, free: 134.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007208/9.427, allocations: 7.457 MB / 3.969 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000862/9.428, allocations: 1.319 MB / 3.971 GB, free: 128.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001877/9.43, allocations: 335.5 kB / 3.971 GB, free: 128.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008344/9.431, allocations: 0.559 MB / 3.972 GB, free: 128.6 MB / 0.8855 GB Notification: Performance of SimCode: time 9.92e-07/9.431, allocations: 0 / 3.972 GB, free: 128.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1166/9.547, allocations: 73.72 MB / 4.044 GB, free: 86.57 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000167/9.548, allocations: 252.1 kB / 4.044 GB, free: 86.23 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.596/14.14, allocations: 4 kB / 4.044 GB, free: 86.23 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)