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: translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y") translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.288/1.288, allocations: 252 MB / 267.9 MB, free: 10.91 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.001019/0.001019, allocations: 180.3 kB / 327.5 MB, free: 2.156 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.575/1.575, allocations: 205.4 MB / 0.5785 GB, free: 20.5 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.0009239/0.000924, allocations: 105.3 kB / 0.6831 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003933/0.0003934, allocations: 11.34 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.224, allocations: 106.3 MB / 0.9012 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.955/5.179, allocations: 2.234 GB / 3.136 GB, free: 316.3 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002159/5.179, allocations: 100.1 kB / 3.136 GB, free: 316.3 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.091/7.27, allocations: 0.7812 GB / 3.917 GB, free: 151.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.595e-06/7.27, allocations: 3.047 kB / 3.917 GB, free: 151.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002554/7.271, allocations: 45.48 kB / 3.917 GB, free: 151.1 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.007309/7.278, allocations: 2.353 MB / 3.919 GB, free: 150.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/7.278, allocations: 14.16 kB / 3.919 GB, free: 150.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00317/7.281, allocations: 426.9 kB / 3.92 GB, free: 150 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005718/7.287, allocations: 1.88 MB / 3.922 GB, free: 149.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.751e-05/7.287, allocations: 83.19 kB / 3.922 GB, free: 149.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003397/7.287, allocations: 111.3 kB / 3.922 GB, free: 149.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002455/7.29, allocations: 1.208 MB / 3.923 GB, free: 149.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.435e-05/7.29, allocations: 0 / 3.923 GB, free: 149.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/7.29, allocations: 41.06 kB / 3.923 GB, free: 149.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.135e-05/7.29, allocations: 33.75 kB / 3.923 GB, free: 149.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001799/7.292, allocations: 0.9125 MB / 3.924 GB, free: 149.4 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.007453/7.299, allocations: 4.962 MB / 3.929 GB, free: 147.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001854/7.301, allocations: 0.9269 MB / 3.93 GB, free: 147.1 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007341/7.302, allocations: 400.2 kB / 3.93 GB, free: 147.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002118/7.302, allocations: 110.4 kB / 3.93 GB, free: 147 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008575/7.303, allocations: 485 kB / 3.931 GB, free: 146.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008496/7.304, allocations: 88.33 kB / 3.931 GB, free: 146.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=71): time 6.202e-06/7.304, allocations: 0 / 3.931 GB, free: 146.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=71): time 0.003189/7.307, allocations: 1.296 MB / 3.932 GB, free: 146.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.282e-05/7.307, allocations: 188.4 kB / 3.932 GB, free: 146.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001667/7.309, allocations: 1.193 MB / 3.933 GB, free: 146.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.201e-05/7.309, allocations: 47.8 kB / 3.933 GB, free: 146.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004722/7.309, allocations: 0.6618 MB / 3.934 GB, free: 146 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001829/7.31, allocations: 246 kB / 3.934 GB, free: 145.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.803e-05/7.31, allocations: 14.78 kB / 3.934 GB, free: 145.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.945e-05/7.31, allocations: 340 kB / 3.935 GB, free: 145.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006224/7.31, allocations: 342 kB / 3.935 GB, free: 145.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007451/7.311, allocations: 0.6284 MB / 3.935 GB, free: 145.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/7.312, allocations: 0.9093 MB / 3.936 GB, free: 145 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/7.312, allocations: 0 / 3.936 GB, free: 145 MB / 0.8855 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001975/7.314, allocations: 1.15 MB / 3.937 GB, free: 144.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001313/7.315, allocations: 275.5 kB / 3.938 GB, free: 144.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-05/7.315, allocations: 3.938 kB / 3.938 GB, free: 144.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003846/7.315, allocations: 90.61 kB / 3.938 GB, free: 144.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000792/7.316, allocations: 206.4 kB / 3.938 GB, free: 144.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005788/7.316, allocations: 1.212 MB / 3.939 GB, free: 143.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/7.318, allocations: 109.8 kB / 3.939 GB, free: 143.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/7.318, allocations: 48.02 kB / 3.939 GB, free: 143.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.945e-06/7.318, allocations: 3.906 kB / 3.939 GB, free: 143.4 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001796/7.32, allocations: 1.038 MB / 3.94 GB, free: 143.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.012e-05/7.32, allocations: 10.67 kB / 3.94 GB, free: 143.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003504/7.32, allocations: 107.5 kB / 3.94 GB, free: 143.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006423/7.321, allocations: 185 kB / 3.941 GB, free: 143.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003203/7.324, allocations: 2.664 MB / 3.943 GB, free: 141.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/7.325, allocations: 105.6 kB / 3.943 GB, free: 141.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/7.325, allocations: 45.53 kB / 3.943 GB, free: 141.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 () * 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.0009494/7.326, allocations: 474.6 kB / 3.944 GB, free: 141.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003082/7.326, allocations: 144.1 kB / 3.944 GB, free: 141.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002012/7.329, allocations: 0.9702 MB / 3.945 GB, free: 141.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/7.329, allocations: 10.66 kB / 3.945 GB, free: 141.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/7.329, allocations: 3.938 kB / 3.945 GB, free: 141.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001368/7.33, allocations: 0.8591 MB / 3.946 GB, free: 141.1 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.004137/7.334, allocations: 2.3 MB / 3.948 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/7.334, allocations: 7.625 kB / 3.948 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007135/7.335, allocations: 166.8 kB / 3.948 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002278/7.335, allocations: 78.94 kB / 3.948 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-05/7.335, allocations: 24.06 kB / 3.948 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004646/7.336, allocations: 1.191 MB / 3.949 GB, free: 139.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/7.336, allocations: 5.109 kB / 3.949 GB, free: 139.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00234/7.338, allocations: 1.463 MB / 3.951 GB, free: 139.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006418/7.339, allocations: 279.5 kB / 3.951 GB, free: 139.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002936/7.339, allocations: 20.88 kB / 3.951 GB, free: 139.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000975/7.34, allocations: 107.9 kB / 3.951 GB, free: 139 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/7.34, allocations: 58.95 kB / 3.951 GB, free: 139 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.598e-05/7.34, allocations: 31.56 kB / 3.951 GB, free: 139 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001343/7.341, allocations: 0.8005 MB / 3.952 GB, free: 138.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/7.341, allocations: 0 / 3.952 GB, free: 138.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003808/7.345, allocations: 1.111 MB / 3.953 GB, free: 138.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) * 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.004644/7.35, allocations: 2.774 MB / 3.956 GB, free: 137.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003524/7.353, allocations: 1.685 MB / 3.958 GB, free: 137.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/7.353, allocations: 6.938 kB / 3.958 GB, free: 137.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008474/7.354, allocations: 422.8 kB / 3.958 GB, free: 137.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003412/7.358, allocations: 0.6537 MB / 3.959 GB, free: 137.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004822/7.363, allocations: 3.171 MB / 3.962 GB, free: 136.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/7.364, allocations: 1.295 MB / 3.963 GB, free: 135.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001643/7.365, allocations: 336.9 kB / 3.963 GB, free: 135.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003487/7.366, allocations: 106.6 kB / 3.963 GB, free: 135.3 MB / 0.8855 GB Notification: Performance of SimCode: time 1.002e-06/7.366, allocations: 0 / 3.963 GB, free: 135.3 MB / 0.8855 GB Notification: Performance of Templates: time 0.06939/7.435, allocations: 54.8 MB / 4.017 GB, free: 110.3 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)