Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.ClosedLoop_y,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.629/1.629, allocations: 285.4 MB / 298 MB, free: 5.949 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.001233/0.001233, allocations: 176.9 kB / 366.4 MB, free: 2.07 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.539/1.539, allocations: 205.2 MB / 0.6248 GB, free: 7.691 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.0009602/0.0009599, allocations: 89.8 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.867e-05/2.869e-05, allocations: 4 kB / 0.8584 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6516/0.6517, allocations: 115.3 MB / 0.971 GB, free: 77.75 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.909/5.561, allocations: 2.116 GB / 3.087 GB, free: 281.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/5.561, allocations: 90.17 kB / 3.087 GB, free: 281.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.821/8.382, allocations: 0.8044 GB / 3.891 GB, free: 160.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.323e-06/8.382, allocations: 0 / 3.891 GB, free: 160.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001768/8.382, allocations: 47.67 kB / 3.891 GB, free: 160.5 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.004698/8.387, allocations: 1.875 MB / 3.893 GB, free: 159.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.526e-05/8.387, allocations: 10.44 kB / 3.893 GB, free: 159.7 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002555/8.387, allocations: 157.8 kB / 3.893 GB, free: 159.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003126/8.391, allocations: 431 kB / 3.894 GB, free: 159.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004378/8.395, allocations: 1.836 MB / 3.896 GB, free: 159.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.815e-05/8.395, allocations: 90.2 kB / 3.896 GB, free: 159.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001693/8.395, allocations: 109.8 kB / 3.896 GB, free: 159.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/8.397, allocations: 1.128 MB / 3.897 GB, free: 159 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/8.397, allocations: 3.938 kB / 3.897 GB, free: 159 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-05/8.397, allocations: 42.28 kB / 3.897 GB, free: 159 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.162e-05/8.397, allocations: 40.91 kB / 3.897 GB, free: 159 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/8.398, allocations: 0.8122 MB / 3.898 GB, free: 159 MB / 0.948 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.006145/8.405, allocations: 4.951 MB / 3.903 GB, free: 156.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001407/8.406, allocations: 0.837 MB / 3.903 GB, free: 156.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004949/8.407, allocations: 353.4 kB / 3.904 GB, free: 156.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002093/8.407, allocations: 111.9 kB / 3.904 GB, free: 156.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006346/8.407, allocations: 431.8 kB / 3.904 GB, free: 156.5 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006949/8.408, allocations: 90.23 kB / 3.904 GB, free: 156.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=71): time 3.717e-06/8.408, allocations: 0 / 3.904 GB, free: 156.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=71): time 0.001521/8.41, allocations: 0.787 MB / 3.905 GB, free: 156.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.253e-05/8.41, allocations: 192 kB / 3.905 GB, free: 156.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/8.411, allocations: 1.017 MB / 3.906 GB, free: 156 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.857e-05/8.411, allocations: 44.45 kB / 3.906 GB, free: 155.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005918/8.412, allocations: 0.658 MB / 3.907 GB, free: 155.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/8.412, allocations: 256.3 kB / 3.907 GB, free: 155.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.795e-05/8.412, allocations: 15.84 kB / 3.907 GB, free: 155.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001003/8.412, allocations: 338.1 kB / 3.908 GB, free: 155.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004547/8.413, allocations: 297.1 kB / 3.908 GB, free: 155.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006268/8.413, allocations: 0.579 MB / 3.908 GB, free: 155 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005906/8.414, allocations: 406.5 kB / 3.909 GB, free: 154.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/8.414, allocations: 0 / 3.909 GB, free: 154.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001604/8.415, allocations: 1.051 MB / 3.91 GB, free: 154.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000411/8.416, allocations: 2.079 MB / 3.912 GB, free: 152.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.052e-05/8.416, allocations: 7.906 kB / 3.912 GB, free: 152.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003301/8.416, allocations: 83.23 kB / 3.912 GB, free: 152.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008492/8.417, allocations: 192.8 kB / 3.912 GB, free: 152.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006263/8.418, allocations: 1.205 MB / 3.913 GB, free: 151.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/8.419, allocations: 100.5 kB / 3.913 GB, free: 151.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/8.419, allocations: 47.36 kB / 3.913 GB, free: 151.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.358e-06/8.419, allocations: 7.641 kB / 3.913 GB, free: 151.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001563/8.421, allocations: 0.9523 MB / 3.914 GB, free: 151.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/8.421, allocations: 9.672 kB / 3.914 GB, free: 151.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003922/8.421, allocations: 109.6 kB / 3.915 GB, free: 151.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006519/8.422, allocations: 185.9 kB / 3.915 GB, free: 151.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003475/8.425, allocations: 2.676 MB / 3.917 GB, free: 149.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/8.426, allocations: 107.8 kB / 3.917 GB, free: 149.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.73e-05/8.426, allocations: 51.08 kB / 3.917 GB, free: 149.7 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 () * 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.0002426/8.427, allocations: 154.8 kB / 3.918 GB, free: 149.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/8.427, allocations: 138.3 kB / 3.918 GB, free: 149.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001692/8.429, allocations: 0.8963 MB / 3.919 GB, free: 149.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/8.429, allocations: 7.906 kB / 3.919 GB, free: 149.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/8.429, allocations: 3.953 kB / 3.919 GB, free: 149.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001072/8.43, allocations: 0.7815 MB / 3.919 GB, free: 149.3 MB / 0.948 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.003438/8.433, allocations: 2.228 MB / 3.922 GB, free: 148.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/8.433, allocations: 0 / 3.922 GB, free: 148.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007629/8.434, allocations: 167.4 kB / 3.922 GB, free: 148.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002447/8.434, allocations: 76.31 kB / 3.922 GB, free: 148.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.742e-05/8.434, allocations: 21.72 kB / 3.922 GB, free: 148.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004676/8.435, allocations: 1.201 MB / 3.923 GB, free: 147.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/8.435, allocations: 0 / 3.923 GB, free: 147.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/8.437, allocations: 1.387 MB / 3.924 GB, free: 147.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005368/8.437, allocations: 282.9 kB / 3.925 GB, free: 147.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/8.437, allocations: 21.52 kB / 3.925 GB, free: 147.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008234/8.438, allocations: 96.14 kB / 3.925 GB, free: 147.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/8.438, allocations: 55.03 kB / 3.925 GB, free: 147.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.455e-05/8.438, allocations: 30.39 kB / 3.925 GB, free: 147.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001004/8.439, allocations: 0.7907 MB / 3.926 GB, free: 147 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/8.439, allocations: 0 / 3.926 GB, free: 147 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003196/8.443, allocations: 1.105 MB / 3.927 GB, free: 146.9 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) * 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.006076/8.449, allocations: 4.854 MB / 3.931 GB, free: 144.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002615/8.451, allocations: 1.588 MB / 3.933 GB, free: 144.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/8.451, allocations: 0 / 3.933 GB, free: 144.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005933/8.452, allocations: 379.9 kB / 3.933 GB, free: 144.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003004/8.455, allocations: 0.6495 MB / 3.934 GB, free: 144.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004529/8.459, allocations: 2.478 MB / 3.936 GB, free: 143.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007896/8.46, allocations: 1.319 MB / 3.938 GB, free: 143.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002155/8.462, allocations: 486.6 kB / 3.938 GB, free: 143.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006503/8.463, allocations: 0.5406 MB / 3.939 GB, free: 143.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.363e-06/8.463, allocations: 3.562 kB / 3.939 GB, free: 143.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.12/8.583, allocations: 82 MB / 4.019 GB, free: 107.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001556/8.583, allocations: 218.1 kB / 4.019 GB, free: 107.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.186/13.77, allocations: 4 kB / 4.019 GB, free: 107.5 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Movers_Examples_ClosedLoop_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Movers_Examples_ClosedLoop_y.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)