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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y") translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007839/0.0007839, allocations: 86.64 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008847/0.0008847, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.653/1.653, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004703/0.0004703, allocations: 20.28 kB / 0.6737 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2338, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.ClosedLoop_y): time 0.6955/0.9293, allocations: 187.3 MB / 0.9702 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02165/0.951, allocations: 15.17 MB / 0.985 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002715/0.9538, allocations: 47 kB / 0.9851 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002589/0.9564, allocations: 0.6306 MB / 0.9857 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005736/0.9622, allocations: 1.811 MB / 0.9875 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006342/0.9685, allocations: 2.165 MB / 0.9896 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00495/0.9735, allocations: 4.092 MB / 0.9936 GB, free: 56 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001626/0.9751, allocations: 1.041 MB / 0.9946 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003659/0.9788, allocations: 1.569 MB / 0.9961 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001917/0.9807, allocations: 1.063 MB / 0.9971 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001858/0.9809, allocations: 60.31 kB / 0.9972 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003718/0.9846, allocations: 1.559 MB / 0.9987 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005509/0.9852, allocations: 493.9 kB / 0.9992 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005417/0.9858, allocations: 352.6 kB / 0.9995 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003096/0.9889, allocations: 2.385 MB / 1.002 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.9889, allocations: 0 / 1.002 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9889, allocations: 1.75 kB / 1.002 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.721e-05/0.9889, allocations: 0 / 1.002 GB, free: 12.63 MB / 0.7325 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.00344/0.9924, allocations: 1.937 MB / 1.004 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.9924, allocations: 8 kB / 1.004 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002495/0.9949, allocations: 458.8 kB / 1.004 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002577/0.9975, allocations: 1.279 MB / 1.005 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.966e-05/0.9976, allocations: 81.14 kB / 1.006 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001755/0.9978, allocations: 109.5 kB / 1.006 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002028/0.9998, allocations: 1.18 MB / 1.007 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/0.9999, allocations: 0 / 1.007 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.652e-05/1, allocations: 45.86 kB / 1.007 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-05/1, allocations: 34.22 kB / 1.007 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001619/1.002, allocations: 0.8934 MB / 1.008 GB, free: 9.965 MB / 0.7325 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.006861/1.008, allocations: 4.887 MB / 1.013 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001717/1.01, allocations: 0.7927 MB / 1.013 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007267/1.011, allocations: 429.7 kB / 1.014 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002076/1.011, allocations: 111.4 kB / 1.014 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008274/1.012, allocations: 467.3 kB / 1.014 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007441/1.013, allocations: 82.97 kB / 1.014 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=69): time 4.238e-06/1.013, allocations: 0 / 1.014 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of matching and sorting (n=69): time 0.002776/1.016, allocations: 1.238 MB / 1.016 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.532e-05/1.016, allocations: 137.1 kB / 1.016 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/1.017, allocations: 1.18 MB / 1.017 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.878e-05/1.017, allocations: 49.25 kB / 1.017 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005301/1.018, allocations: 0.6644 MB / 1.018 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002042/1.018, allocations: 243.4 kB / 1.018 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.664e-05/1.018, allocations: 24.09 kB / 1.018 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001563/1.018, allocations: 338.9 kB / 1.018 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006345/1.019, allocations: 341.3 kB / 1.018 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008447/1.02, allocations: 0.5992 MB / 1.019 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007336/1.02, allocations: 446 kB / 1.019 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/1.02, allocations: 1.812 kB / 1.019 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002211/1.023, allocations: 1.172 MB / 1.021 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.000206/1.023, allocations: 283.1 kB / 1.021 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/1.023, allocations: 4.594 kB / 1.021 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003822/1.023, allocations: 81.67 kB / 1.021 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008106/1.024, allocations: 209.9 kB / 1.021 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009047/1.025, allocations: 1.221 MB / 1.022 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/1.026, allocations: 85.55 kB / 1.022 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.614e-05/1.026, allocations: 49.84 kB / 1.022 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.985e-06/1.026, allocations: 2.312 kB / 1.022 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001873/1.028, allocations: 1.075 MB / 1.023 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/1.028, allocations: 6.25 kB / 1.024 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005072/1.029, allocations: 156 kB / 1.024 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006651/1.029, allocations: 183.9 kB / 1.024 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004003/1.033, allocations: 2.809 MB / 1.027 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/1.035, allocations: 87.56 kB / 1.027 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.383e-05/1.035, allocations: 49.89 kB / 1.027 GB, free: 15.86 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0007489/1.035, allocations: 466.2 kB / 1.027 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001876/1.036, allocations: 137.4 kB / 1.027 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001865/1.037, allocations: 0.94 MB / 1.028 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/1.037, allocations: 5.844 kB / 1.028 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/1.038, allocations: 6.828 kB / 1.028 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0014/1.039, allocations: 0.841 MB / 1.029 GB, free: 15.03 MB / 0.7481 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.003685/1.043, allocations: 2.258 MB / 1.031 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/1.043, allocations: 0 / 1.031 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000731/1.043, allocations: 163.3 kB / 1.031 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002384/1.044, allocations: 80.94 kB / 1.031 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-05/1.044, allocations: 31.69 kB / 1.031 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006627/1.044, allocations: 1.187 MB / 1.033 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.044, allocations: 1.969 kB / 1.033 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002316/1.047, allocations: 1.413 MB / 1.034 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004746/1.047, allocations: 277.9 kB / 1.034 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/1.047, allocations: 16.19 kB / 1.034 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007201/1.048, allocations: 94.42 kB / 1.034 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/1.048, allocations: 49.55 kB / 1.034 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.286e-05/1.048, allocations: 26.17 kB / 1.034 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001076/1.049, allocations: 0.7997 MB / 1.035 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/1.049, allocations: 4 kB / 1.035 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002143/1.051, allocations: 0.8252 MB / 1.036 GB, free: 10.79 MB / 0.7481 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 (66): * Single equations (assignments): 62 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001024/1.052, allocations: 441.9 kB / 1.036 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00321/1.056, allocations: 1.649 MB / 1.038 GB, free: 8.684 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.056, allocations: 1.75 kB / 1.038 GB, free: 8.684 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008414/1.057, allocations: 411.8 kB / 1.038 GB, free: 8.281 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002756/1.059, allocations: 0.6667 MB / 1.039 GB, free: 7.629 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004564/1.064, allocations: 3.147 MB / 1.042 GB, free: 4.441 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009116/1.065, allocations: 1.29 MB / 1.043 GB, free: 3.125 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001455/1.066, allocations: 327.4 kB / 1.044 GB, free: 2.801 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002696/1.067, allocations: 107.4 kB / 1.044 GB, free: 2.695 MB / 0.7481 GB Notification: Performance of SimCode: time 8.52e-07/1.067, allocations: 3.938 kB / 1.044 GB, free: 2.691 MB / 0.7481 GB Notification: Performance of Templates: time 0.04451/1.111, allocations: 28.21 MB / 1.071 GB, free: 6.859 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1) Environment - environmentSimulation: